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 77464293_8635_d004_11de_25b8b6223e58["walk_collect()"] 8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"] 77464293_8635_d004_11de_25b8b6223e58 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79 3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"] 3c337f58_9743_cefc_9b9d_984193abd3d2 -->|calls| 77464293_8635_d004_11de_25b8b6223e58 7fdc5de6_ca45_c05a_0113_cfaee5250ec1["build()"] 77464293_8635_d004_11de_25b8b6223e58 -->|calls| 7fdc5de6_ca45_c05a_0113_cfaee5250ec1 934d114d_964b_414a_2b41_82e8174b7c3d["path()"] 77464293_8635_d004_11de_25b8b6223e58 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d 9154c417_a5f7_3461_946b_605c083b3ec3["push()"] 77464293_8635_d004_11de_25b8b6223e58 -->|calls| 9154c417_a5f7_3461_946b_605c083b3ec3 d88a9d85_9d83_afcf_f958_2b91811bd8b0["normal_path()"] 77464293_8635_d004_11de_25b8b6223e58 -->|calls| d88a9d85_9d83_afcf_f958_2b91811bd8b0 style 77464293_8635_d004_11de_25b8b6223e58 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