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