custom_ignore() — tailwindcss Function Reference
Architecture documentation for the custom_ignore() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 75e1b45e_f567_00e0_c026_5153da9fdf0d["custom_ignore()"] 8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79 c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3 eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121 934d114d_964b_414a_2b41_82e8174b7c3d["path()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d dc15f3bc_b785_736f_2fa4_5e6e62bbfee6["wfile()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| dc15f3bc_b785_736f_2fa4_5e6e62bbfee6 5114ff0e_27c0_e642_2f39_ae2e9d48b450["add_custom_ignore_filename()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| 5114ff0e_27c0_e642_2f39_ae2e9d48b450 3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"] 75e1b45e_f567_00e0_c026_5153da9fdf0d -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2 style 75e1b45e_f567_00e0_c026_5153da9fdf0d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2154–2167
fn custom_ignore() {
let td = tmpdir();
let custom_ignore = ".customignore";
mkdirp(td.path().join("a"));
wfile(td.path().join(custom_ignore), "foo");
wfile(td.path().join("foo"), "");
wfile(td.path().join("a/foo"), "");
wfile(td.path().join("bar"), "");
wfile(td.path().join("a/bar"), "");
let mut builder = WalkBuilder::new(td.path());
builder.add_custom_ignore_filename(&custom_ignore);
assert_paths(td.path(), &builder, &["bar", "a", "a/bar"]);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does custom_ignore() do?
custom_ignore() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is custom_ignore() defined?
custom_ignore() is defined in crates/ignore/src/walk.rs at line 2154.
What does custom_ignore() call?
custom_ignore() calls 6 function(s): add_custom_ignore_filename, assert_paths, mkdirp, path, tmpdir, wfile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free