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 9d928b06_6c8a_7d84_6194_bf0101a9dd0d["custom_ignore_over_ignore()"] 1d8e185d_2d17_16a2_e6da_31f5e5c71648["tmpdir()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| 1d8e185d_2d17_16a2_e6da_31f5e5c71648 b531cfc0_8a2c_1d41_6f18_1d84e771a9ef["wfile()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| b531cfc0_8a2c_1d41_6f18_1d84e771a9ef a3791d58_6294_cb66_0418_5756e23761fd["path()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| a3791d58_6294_cb66_0418_5756e23761fd c11ebbdd_2da8_97c8_6987_064c04dbe291["add_custom_ignore_filename()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| c11ebbdd_2da8_97c8_6987_064c04dbe291 386bbf62_59b6_b5e0_c202_c2ecee5729ec["build()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| 386bbf62_59b6_b5e0_c202_c2ecee5729ec 7f3cd9fa_fc0e_11d8_c82c_d766c339923a["add_child()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a 22918057_f3e8_c59b_6372_a4375af46acd["matched()"] 9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| 22918057_f3e8_c59b_6372_a4375af46acd style 9d928b06_6c8a_7d84_6194_bf0101a9dd0d 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
Source
Frequently Asked Questions
What does custom_ignore_over_ignore() do?
custom_ignore_over_ignore() is a function in the tailwindcss codebase.
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