custom_ignore_over_ignore() — tailwindcss Function Reference
Architecture documentation for the custom_ignore_over_ignore() function in dir.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 6fc51294_5187_4c70_1acc_9ff8488e6881["custom_ignore_over_ignore()"] a558c8e1_3e7c_59d2_b113_bacec65ba188["dir.rs"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|defined in| a558c8e1_3e7c_59d2_b113_bacec65ba188 676ae91e_26f7_45c2_da8a_606a73e1cfe1["tmpdir()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 676ae91e_26f7_45c2_da8a_606a73e1cfe1 60c43916_8d33_fa5f_02fb_07ed8b5cbe67["wfile()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 60c43916_8d33_fa5f_02fb_07ed8b5cbe67 1b1bc826_12bc_290a_5930_aa622cf5e9e9["path()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 1b1bc826_12bc_290a_5930_aa622cf5e9e9 8561a16a_7caa_b485_43f8_a9bb1ef28d27["add_custom_ignore_filename()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 8561a16a_7caa_b485_43f8_a9bb1ef28d27 767f0d1d_ed6b_2d39_ea17_d569e763e1dc["build()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 767f0d1d_ed6b_2d39_ea17_d569e763e1dc e98d4cd2_6820_4001_f485_b7bd568700a1["add_child()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| e98d4cd2_6820_4001_f485_b7bd568700a1 610d87f4_d454_8c17_656c_4616db7298c0["matched()"] 6fc51294_5187_4c70_1acc_9ff8488e6881 -->|calls| 610d87f4_d454_8c17_656c_4616db7298c0 style 6fc51294_5187_4c70_1acc_9ff8488e6881 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/dir.rs lines 1046–1058
fn custom_ignore_over_ignore() {
let td = tmpdir();
let custom_ignore = ".customignore";
wfile(td.path().join(".ignore"), "foo");
wfile(td.path().join(custom_ignore), "!foo");
let (ig, err) = IgnoreBuilder::new()
.add_custom_ignore_filename(custom_ignore)
.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_over_ignore() do?
custom_ignore_over_ignore() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is custom_ignore_over_ignore() defined?
custom_ignore_over_ignore() is defined in crates/ignore/src/dir.rs at line 1046.
What does custom_ignore_over_ignore() call?
custom_ignore_over_ignore() 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