gitignore() — tailwindcss Function Reference
Architecture documentation for the gitignore() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 71cd9d32_d334_cd6a_990d_f22a495d0d26["gitignore()"] 8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79 c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3 eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121 934d114d_964b_414a_2b41_82e8174b7c3d["path()"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d dc15f3bc_b785_736f_2fa4_5e6e62bbfee6["wfile()"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| dc15f3bc_b785_736f_2fa4_5e6e62bbfee6 3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"] 71cd9d32_d334_cd6a_990d_f22a495d0d26 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2 style 71cd9d32_d334_cd6a_990d_f22a495d0d26 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