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 157735d2_2986_738b_0de4_d9ba9ee02849["custom_ignore_precedence()"] a558c8e1_3e7c_59d2_b113_bacec65ba188["dir.rs"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|defined in| a558c8e1_3e7c_59d2_b113_bacec65ba188 676ae91e_26f7_45c2_da8a_606a73e1cfe1["tmpdir()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 676ae91e_26f7_45c2_da8a_606a73e1cfe1 60c43916_8d33_fa5f_02fb_07ed8b5cbe67["wfile()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 60c43916_8d33_fa5f_02fb_07ed8b5cbe67 1b1bc826_12bc_290a_5930_aa622cf5e9e9["path()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 1b1bc826_12bc_290a_5930_aa622cf5e9e9 8561a16a_7caa_b485_43f8_a9bb1ef28d27["add_custom_ignore_filename()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 8561a16a_7caa_b485_43f8_a9bb1ef28d27 767f0d1d_ed6b_2d39_ea17_d569e763e1dc["build()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 767f0d1d_ed6b_2d39_ea17_d569e763e1dc e98d4cd2_6820_4001_f485_b7bd568700a1["add_child()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| e98d4cd2_6820_4001_f485_b7bd568700a1 610d87f4_d454_8c17_656c_4616db7298c0["matched()"] 157735d2_2986_738b_0de4_d9ba9ee02849 -->|calls| 610d87f4_d454_8c17_656c_4616db7298c0 style 157735d2_2986_738b_0de4_d9ba9ee02849 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