gitignore_parent() — tailwindcss Function Reference
Architecture documentation for the gitignore_parent() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af["gitignore_parent()"] e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"] 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6 a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"] 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb 65b715d0_a042_86f6_24a2_ee2f89075c41["wfile()"] 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| 65b715d0_a042_86f6_24a2_ee2f89075c41 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"] 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e 006bb599_d40b_f53b_44c7_57dfd4237729["path()"] 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729 style 1aab6cf2_d9c3_76fe_ff42_a93e9fdf12af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2245–2255
fn gitignore_parent() {
let td = tmpdir();
mkdirp(td.path().join(".git"));
mkdirp(td.path().join("a"));
wfile(td.path().join(".gitignore"), "foo");
wfile(td.path().join("a/foo"), "");
wfile(td.path().join("a/bar"), "");
let root = td.path().join("a");
assert_paths(&root, &WalkBuilder::new(&root), &["bar"]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does gitignore_parent() do?
gitignore_parent() is a function in the tailwindcss codebase.
What does gitignore_parent() call?
gitignore_parent() 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