explicit_ignore() — tailwindcss Function Reference
Architecture documentation for the explicit_ignore() function in dir.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 8a457ba5_db7f_9498_7c15_821ce040f08e["explicit_ignore()"] 510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89["tmpdir()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89 fe4c91f2_5b95_b103_1edb_19b3ea6da080["wfile()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| fe4c91f2_5b95_b103_1edb_19b3ea6da080 195d465d_cb01_6c11_b964_d3f792d97f6f["path()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f bbf8f8c7_136d_5524_0ff7_e84a187de2e5["add_ignore()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| bbf8f8c7_136d_5524_0ff7_e84a187de2e5 ea4007ac_a311_c454_45f6_4e3ba7192b1a["build()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| ea4007ac_a311_c454_45f6_4e3ba7192b1a 5f1e446c_b1a6_cd2c_2707_77480f9eaad4["add_child()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| 5f1e446c_b1a6_cd2c_2707_77480f9eaad4 df4238ce_ff67_ee56_17ce_54ac1d2fa297["matched()"] 8a457ba5_db7f_9498_7c15_821ce040f08e -->|calls| df4238ce_ff67_ee56_17ce_54ac1d2fa297 style 8a457ba5_db7f_9498_7c15_821ce040f08e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/dir.rs lines 933–948
fn explicit_ignore() {
let td = tmpdir();
wfile(td.path().join("not-an-ignore"), "foo\n!bar");
let (gi, err) = Gitignore::new(td.path().join("not-an-ignore"));
assert!(err.is_none());
let (ig, err) = IgnoreBuilder::new()
.add_ignore(gi)
.build()
.add_child(td.path());
assert!(err.is_none());
assert!(ig.matched(td.path().join("foo"), false).is_ignore());
assert!(ig.matched(td.path().join("bar"), false).is_whitelist());
assert!(ig.matched(td.path().join("baz"), false).is_none());
assert!(ig.matched("/foo", false).is_none());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does explicit_ignore() do?
explicit_ignore() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is explicit_ignore() defined?
explicit_ignore() is defined in crates/ignore/src/dir.rs at line 933.
What does explicit_ignore() call?
explicit_ignore() calls 7 function(s): add_child, add_ignore, 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