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 87326dda_3c0c_7d06_348b_20c332cbd44e["custom_ignore()"] b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565 ad34ca57_79fe_7ec6_ca38_10ba5937d0e2["tmpdir()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| ad34ca57_79fe_7ec6_ca38_10ba5937d0e2 2981eeff_1441_f747_1a13_e8238ee63e55["mkdirp()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| 2981eeff_1441_f747_1a13_e8238ee63e55 eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4["wfile()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4 fbecc2f9_c74c_a95e_5a2e_a6b3e5a0990d["add_custom_ignore_filename()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| fbecc2f9_c74c_a95e_5a2e_a6b3e5a0990d 9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"] 87326dda_3c0c_7d06_348b_20c332cbd44e -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20 style 87326dda_3c0c_7d06_348b_20c332cbd44e 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