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

Entity Profile

Dependency Diagram

graph TD
  5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"]
  b25e74cb_d02f_c9e6_92de_1947bfbe7964["no_ignores()"]
  b25e74cb_d02f_c9e6_92de_1947bfbe7964 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  30ff6d53_f031_f738_de31_96dc11684be3["custom_ignore()"]
  30ff6d53_f031_f738_de31_96dc11684be3 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  8827e24e_83af_47b3_4098_831c48ecd44c["custom_ignore_exclusive_use()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  2199989e_5c88_1720_696b_819ea86aecd8["gitignore()"]
  2199989e_5c88_1720_696b_819ea86aecd8 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  14975754_4855_13c2_2197_a77d8777a158["explicit_ignore()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  bffbf6f7_dfe7_3e30_825c_fef083bb024a["explicit_ignore_exclusive_use()"]
  bffbf6f7_dfe7_3e30_825c_fef083bb024a -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af["gitignore_parent()"]
  1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  95acd172_55a0_a922_90d4_b0e559ebbe4a["max_depth()"]
  95acd172_55a0_a922_90d4_b0e559ebbe4a -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  1d6d093c_70c0_1a75_75db_cec98737a5ab["min_depth()"]
  1d6d093c_70c0_1a75_75db_cec98737a5ab -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  8d56a1a5_144b_a0ba_b0fd_99aa4bf64f14["max_filesize()"]
  8d56a1a5_144b_a0ba_b0fd_99aa4bf64f14 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  70dab4c5_535c_64b9_1540_21d5397c612b["symlinks()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  b467308a_fbef_cacf_6aca_ca3f50c06a51["symlink_loop()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  95b107ae_d4d2_5303_7db9_2b4373c1db2e["same_file_system()"]
  95b107ae_d4d2_5303_7db9_2b4373c1db2e -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  71e93def_7a6f_7fac_bfd6_1619a991cc7c["no_read_permissions()"]
  71e93def_7a6f_7fac_bfd6_1619a991cc7c -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  style 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e 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.
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