custom_ignore_precedence() — tailwindcss Function Reference
Architecture documentation for the custom_ignore_precedence() function in dir.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD b894ef62_4c94_a0d3_d235_87304c6374b4["custom_ignore_precedence()"] 510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89["tmpdir()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89 fe4c91f2_5b95_b103_1edb_19b3ea6da080["wfile()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| fe4c91f2_5b95_b103_1edb_19b3ea6da080 195d465d_cb01_6c11_b964_d3f792d97f6f["path()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f c1cd4b73_8dd6_92da_2031_b96b29633f43["add_custom_ignore_filename()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| c1cd4b73_8dd6_92da_2031_b96b29633f43 ea4007ac_a311_c454_45f6_4e3ba7192b1a["build()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| ea4007ac_a311_c454_45f6_4e3ba7192b1a 5f1e446c_b1a6_cd2c_2707_77480f9eaad4["add_child()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| 5f1e446c_b1a6_cd2c_2707_77480f9eaad4 df4238ce_ff67_ee56_17ce_54ac1d2fa297["matched()"] b894ef62_4c94_a0d3_d235_87304c6374b4 -->|calls| df4238ce_ff67_ee56_17ce_54ac1d2fa297 style b894ef62_4c94_a0d3_d235_87304c6374b4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/dir.rs lines 1062–1076
fn custom_ignore_precedence() {
let td = tmpdir();
let custom_ignore1 = ".customignore1";
let custom_ignore2 = ".customignore2";
wfile(td.path().join(custom_ignore1), "foo");
wfile(td.path().join(custom_ignore2), "!foo");
let (ig, err) = IgnoreBuilder::new()
.add_custom_ignore_filename(custom_ignore1)
.add_custom_ignore_filename(custom_ignore2)
.build()
.add_child(td.path());
assert!(err.is_none());
assert!(ig.matched("foo", false).is_whitelist());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does custom_ignore_precedence() do?
custom_ignore_precedence() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is custom_ignore_precedence() defined?
custom_ignore_precedence() is defined in crates/ignore/src/dir.rs at line 1062.
What does custom_ignore_precedence() call?
custom_ignore_precedence() calls 7 function(s): add_child, add_custom_ignore_filename, build, matched, path, tmpdir, wfile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free