Home / Function/ assert_paths() — tailwindcss Function Reference

assert_paths() — tailwindcss Function Reference

Architecture documentation for the assert_paths() function in walk.rs from the tailwindcss codebase.

Function rust OxideEngine PreProcessors calls 3 called by 15

Entity Profile

Dependency Diagram

graph TD
  9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  9df16f40_0af0_7013_ce71_ae30d02a8d20 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  f0dce193_72fe_fd9b_0572_5a9a8a550c3c["no_ignores()"]
  f0dce193_72fe_fd9b_0572_5a9a8a550c3c -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  87326dda_3c0c_7d06_348b_20c332cbd44e["custom_ignore()"]
  87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  ad763435_30f4_9274_9958_80110bcb1795["custom_ignore_exclusive_use()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  f0717bf3_d851_5d19_b154_3f75d7b7d8e0["gitignore()"]
  f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  35fa9a64_2db5_9e2c_5023_87898eab5bf4["explicit_ignore()"]
  35fa9a64_2db5_9e2c_5023_87898eab5bf4 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  0a22a615_d753_f9c5_6bb3_caa208b725d7["explicit_ignore_exclusive_use()"]
  0a22a615_d753_f9c5_6bb3_caa208b725d7 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  0358524a_f578_eddc_2793_f77ed5a0499a["gitignore_parent()"]
  0358524a_f578_eddc_2793_f77ed5a0499a -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  466239bd_07fe_994f_d859_99f5e2331524["max_depth()"]
  466239bd_07fe_994f_d859_99f5e2331524 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b["min_depth()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  44b9af64_2db8_26f1_f2af_0247c3300294["max_filesize()"]
  44b9af64_2db8_26f1_f2af_0247c3300294 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  33218f39_f329_0a0c_2eed_b1e7f7195f4f["symlinks()"]
  33218f39_f329_0a0c_2eed_b1e7f7195f4f -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  fdb0b620_8068_84db_6f37_94e73040690a["symlink_loop()"]
  fdb0b620_8068_84db_6f37_94e73040690a -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  a9ee3ce7_a88e_113e_778c_1bf1eac0ce02["same_file_system()"]
  a9ee3ce7_a88e_113e_778c_1bf1eac0ce02 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  style 9df16f40_0af0_7013_ce71_ae30d02a8d20 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 2131–2136

    fn assert_paths(prefix: &Path, builder: &WalkBuilder, expected: &[&str]) {
        let got = walk_collect(prefix, builder);
        assert_eq!(got, mkpaths(expected), "single threaded");
        let got = walk_collect_parallel(prefix, builder);
        assert_eq!(got, mkpaths(expected), "parallel");
    }

Domain

Subdomains

Frequently Asked Questions

What does assert_paths() do?
assert_paths() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is assert_paths() defined?
assert_paths() is defined in crates/ignore/src/walk.rs at line 2131.
What does assert_paths() call?
assert_paths() calls 3 function(s): mkpaths, walk_collect, walk_collect_parallel.
What calls assert_paths()?
assert_paths() is called by 15 function(s): custom_ignore, custom_ignore_exclusive_use, explicit_ignore, explicit_ignore_exclusive_use, filter, gitignore, gitignore_parent, max_depth, and 7 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free