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 Oxide PreProcessors calls 3 called by 15

Entity Profile

Dependency Diagram

graph TD
  3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  3c337f58_9743_cefc_9b9d_984193abd3d2 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  f06bf788_48f7_9140_26a8_903494b1bc8e["no_ignores()"]
  f06bf788_48f7_9140_26a8_903494b1bc8e -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  75e1b45e_f567_00e0_c026_5153da9fdf0d["custom_ignore()"]
  75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  eee76249_e82d_3140_a53b_f288ebad4218["custom_ignore_exclusive_use()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  71cd9d32_d334_cd6a_990d_f22a495d0d26["gitignore()"]
  71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  d6d59ffb_3da4_2072_4dfa_7bdbbb22d4df["explicit_ignore()"]
  d6d59ffb_3da4_2072_4dfa_7bdbbb22d4df -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  c6cbb136_9fd4_975e_ca5a_865f2c1f8b1b["explicit_ignore_exclusive_use()"]
  c6cbb136_9fd4_975e_ca5a_865f2c1f8b1b -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  506d352e_7286_1013_5da4_6b215e0f0255["gitignore_parent()"]
  506d352e_7286_1013_5da4_6b215e0f0255 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  34bbf490_423c_6be8_46dd_9b51a45a65e9["max_depth()"]
  34bbf490_423c_6be8_46dd_9b51a45a65e9 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  dc4c6622_582c_3872_a3ca_10e03e301006["min_depth()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  77641126_24a7_02a7_472a_1f262c06b9e3["max_filesize()"]
  77641126_24a7_02a7_472a_1f262c06b9e3 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  0c157b4c_2c78_6ae6_2539_bfb0ad5de06b["symlinks()"]
  0c157b4c_2c78_6ae6_2539_bfb0ad5de06b -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  53b6689e_b3ea_a334_1370_87cf19a1b264["symlink_loop()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  bf0b11b7_e742_de77_8aa3_d8f008314fdf["same_file_system()"]
  bf0b11b7_e742_de77_8aa3_d8f008314fdf -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  style 3c337f58_9743_cefc_9b9d_984193abd3d2 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