add_parents() — tailwindcss Function Reference
Architecture documentation for the add_parents() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 108dca3a_76ad_c78e_2e8e_08a7c813e095["add_parents()"] b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] 108dca3a_76ad_c78e_2e8e_08a7c813e095 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565 83bb976e_1649_1bda_3eb2_5a61fc6842eb["next()"] 83bb976e_1649_1bda_3eb2_5a61fc6842eb -->|calls| 108dca3a_76ad_c78e_2e8e_08a7c813e095 db2e31aa_a7bc_3c9b_da84_dcf0c56993e2["run_one()"] db2e31aa_a7bc_3c9b_da84_dcf0c56993e2 -->|calls| 108dca3a_76ad_c78e_2e8e_08a7c813e095 78dc08c8_e2ba_96ff_3ae5_92c4eba84aeb["depth()"] 108dca3a_76ad_c78e_2e8e_08a7c813e095 -->|calls| 78dc08c8_e2ba_96ff_3ae5_92c4eba84aeb eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"] 108dca3a_76ad_c78e_2e8e_08a7c813e095 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0 style 108dca3a_76ad_c78e_2e8e_08a7c813e095 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 1470–1479
fn add_parents(&mut self) -> Option<Error> {
if self.dent.depth() > 0 {
return None;
}
// At depth 0, the path of this entry is a root path, so we can
// use it directly to add parent ignore rules.
let (ig, err) = self.ignore.add_parents(self.dent.path());
self.ignore = ig;
err
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does add_parents() do?
add_parents() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is add_parents() defined?
add_parents() is defined in crates/ignore/src/walk.rs at line 1470.
What does add_parents() call?
add_parents() calls 2 function(s): depth, path.
What calls add_parents()?
add_parents() is called by 2 function(s): next, run_one.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free