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.

Entity Profile

Dependency Diagram

graph TD
  03f45cf3_87f6_e91f_bef8_2f9380aab005["assert_paths()"]
  d099d442_2087_e30a_30a4_e3d55b7cfc4c["no_ignores()"]
  d099d442_2087_e30a_30a4_e3d55b7cfc4c -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  ab74f1a1_ac31_35da_49da_afa7b756bea4["custom_ignore()"]
  ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  b605afcc_84e6_88ca_ce52_34a0b5054e5a["custom_ignore_exclusive_use()"]
  b605afcc_84e6_88ca_ce52_34a0b5054e5a -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  6cd8e06e_ec3d_b7d4_7b6f_3e850b8f496b["gitignore()"]
  6cd8e06e_ec3d_b7d4_7b6f_3e850b8f496b -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  40ffab1c_8b5a_2b48_7492_8e870bd7ddef["explicit_ignore()"]
  40ffab1c_8b5a_2b48_7492_8e870bd7ddef -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  9f6ff9ed_d520_c960_130c_61f4d7def4d7["explicit_ignore_exclusive_use()"]
  9f6ff9ed_d520_c960_130c_61f4d7def4d7 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  529640d0_1f82_48fc_bb44_dff0b6a1b383["gitignore_parent()"]
  529640d0_1f82_48fc_bb44_dff0b6a1b383 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  428176d2_ded6_24a9_58be_fc5046e7235c["max_depth()"]
  428176d2_ded6_24a9_58be_fc5046e7235c -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  7aa6c94c_9bb2_b710_8193_8ab9ba9d0779["min_depth()"]
  7aa6c94c_9bb2_b710_8193_8ab9ba9d0779 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  9e54f8f7_e961_4d71_924d_88498bd4faf3["max_filesize()"]
  9e54f8f7_e961_4d71_924d_88498bd4faf3 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  9493ac91_c0f7_67b4_83b5_876536246a16["symlinks()"]
  9493ac91_c0f7_67b4_83b5_876536246a16 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  0cf690a4_64b9_41a7_da9a_614df11c4073["symlink_loop()"]
  0cf690a4_64b9_41a7_da9a_614df11c4073 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  daabf474_f723_48b1_7aee_1bb9a40511eb["same_file_system()"]
  daabf474_f723_48b1_7aee_1bb9a40511eb -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  5bec7c92_53ea_c39d_0e28_940d7c5582cb["no_read_permissions()"]
  5bec7c92_53ea_c39d_0e28_940d7c5582cb -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005
  style 03f45cf3_87f6_e91f_bef8_2f9380aab005 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");
    }

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