gitignore_no_git() — tailwindcss Function Reference
Architecture documentation for the gitignore_no_git() function in dir.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 42c35850_8d1a_750a_3d03_03c97c60cd05["gitignore_no_git()"] a558c8e1_3e7c_59d2_b113_bacec65ba188["dir.rs"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|defined in| a558c8e1_3e7c_59d2_b113_bacec65ba188 676ae91e_26f7_45c2_da8a_606a73e1cfe1["tmpdir()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| 676ae91e_26f7_45c2_da8a_606a73e1cfe1 60c43916_8d33_fa5f_02fb_07ed8b5cbe67["wfile()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| 60c43916_8d33_fa5f_02fb_07ed8b5cbe67 1b1bc826_12bc_290a_5930_aa622cf5e9e9["path()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| 1b1bc826_12bc_290a_5930_aa622cf5e9e9 767f0d1d_ed6b_2d39_ea17_d569e763e1dc["build()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| 767f0d1d_ed6b_2d39_ea17_d569e763e1dc e98d4cd2_6820_4001_f485_b7bd568700a1["add_child()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| e98d4cd2_6820_4001_f485_b7bd568700a1 610d87f4_d454_8c17_656c_4616db7298c0["matched()"] 42c35850_8d1a_750a_3d03_03c97c60cd05 -->|calls| 610d87f4_d454_8c17_656c_4616db7298c0 style 42c35850_8d1a_750a_3d03_03c97c60cd05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/dir.rs lines 990–999
fn gitignore_no_git() {
let td = tmpdir();
wfile(td.path().join(".gitignore"), "foo\n!bar");
let (ig, err) = IgnoreBuilder::new().build().add_child(td.path());
assert!(err.is_none());
assert!(ig.matched("foo", false).is_none());
assert!(ig.matched("bar", false).is_none());
assert!(ig.matched("baz", false).is_none());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does gitignore_no_git() do?
gitignore_no_git() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is gitignore_no_git() defined?
gitignore_no_git() is defined in crates/ignore/src/dir.rs at line 990.
What does gitignore_no_git() call?
gitignore_no_git() 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