walk_collect() — tailwindcss Function Reference
Architecture documentation for the walk_collect() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD dcd6b4af_7222_0d2a_ba97_81396acc8fb1["walk_collect()"] b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] dcd6b4af_7222_0d2a_ba97_81396acc8fb1 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565 9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"] 9df16f40_0af0_7013_ce71_ae30d02a8d20 -->|calls| dcd6b4af_7222_0d2a_ba97_81396acc8fb1 de47c3c4_7919_326b_65e2_dcc7c2bd96c6["build()"] dcd6b4af_7222_0d2a_ba97_81396acc8fb1 -->|calls| de47c3c4_7919_326b_65e2_dcc7c2bd96c6 eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"] dcd6b4af_7222_0d2a_ba97_81396acc8fb1 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0 ae599a85_0c60_15e1_b5ae_270bd089125f["push()"] dcd6b4af_7222_0d2a_ba97_81396acc8fb1 -->|calls| ae599a85_0c60_15e1_b5ae_270bd089125f 063ca569_8059_e2ae_4819_c33cf4c60f59["normal_path()"] dcd6b4af_7222_0d2a_ba97_81396acc8fb1 -->|calls| 063ca569_8059_e2ae_4819_c33cf4c60f59 style dcd6b4af_7222_0d2a_ba97_81396acc8fb1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2075–2090
fn walk_collect(prefix: &Path, builder: &WalkBuilder) -> Vec<String> {
let mut paths = vec![];
for result in builder.build() {
let dent = match result {
Err(_) => continue,
Ok(dent) => dent,
};
let path = dent.path().strip_prefix(prefix).unwrap();
if path.as_os_str().is_empty() {
continue;
}
paths.push(normal_path(path.to_str().unwrap()));
}
paths.sort();
paths
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does walk_collect() do?
walk_collect() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is walk_collect() defined?
walk_collect() is defined in crates/ignore/src/walk.rs at line 2075.
What does walk_collect() call?
walk_collect() calls 4 function(s): build, normal_path, path, push.
What calls walk_collect()?
walk_collect() is called by 1 function(s): assert_paths.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free