gitignore() — tailwindcss Function Reference
Architecture documentation for the gitignore() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD f0717bf3_d851_5d19_b154_3f75d7b7d8e0["gitignore()"] b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565 ad34ca57_79fe_7ec6_ca38_10ba5937d0e2["tmpdir()"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| ad34ca57_79fe_7ec6_ca38_10ba5937d0e2 2981eeff_1441_f747_1a13_e8238ee63e55["mkdirp()"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| 2981eeff_1441_f747_1a13_e8238ee63e55 eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4["wfile()"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4 9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"] f0717bf3_d851_5d19_b154_3f75d7b7d8e0 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20 style f0717bf3_d851_5d19_b154_3f75d7b7d8e0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2190–2205
fn gitignore() {
let td = tmpdir();
mkdirp(td.path().join(".git"));
mkdirp(td.path().join("a"));
wfile(td.path().join(".gitignore"), "foo");
wfile(td.path().join("foo"), "");
wfile(td.path().join("a/foo"), "");
wfile(td.path().join("bar"), "");
wfile(td.path().join("a/bar"), "");
assert_paths(
td.path(),
&WalkBuilder::new(td.path()),
&["bar", "a", "a/bar"],
);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does gitignore() do?
gitignore() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is gitignore() defined?
gitignore() is defined in crates/ignore/src/walk.rs at line 2190.
What does gitignore() call?
gitignore() calls 5 function(s): assert_paths, mkdirp, path, tmpdir, wfile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free