from_walkdir() — tailwindcss Function Reference
Architecture documentation for the from_walkdir() function in lib.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 6866384f_5d21_4c82_01f8_2fab69d90854["from_walkdir()"] 1617f0c2_9ae5_e58a_62f4_8bb403f071b5["depth()"] 6866384f_5d21_4c82_01f8_2fab69d90854 -->|calls| 1617f0c2_9ae5_e58a_62f4_8bb403f071b5 d7e62d02_e2ed_4e5d_2aec_ac77902bfaf9["path()"] 6866384f_5d21_4c82_01f8_2fab69d90854 -->|calls| d7e62d02_e2ed_4e5d_2aec_ac77902bfaf9 33b6096b_90c0_5980_c78f_82f5d36b55b3["map()"] 6866384f_5d21_4c82_01f8_2fab69d90854 -->|calls| 33b6096b_90c0_5980_c78f_82f5d36b55b3 style 6866384f_5d21_4c82_01f8_2fab69d90854 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/lib.rs lines 292–312
fn from_walkdir(err: walkdir::Error) -> Error {
let depth = err.depth();
if let (Some(anc), Some(child)) = (err.loop_ancestor(), err.path()) {
return Error::WithDepth {
depth,
err: Box::new(Error::Loop {
ancestor: anc.to_path_buf(),
child: child.to_path_buf(),
}),
};
}
let path = err.path().map(|p| p.to_path_buf());
let mut ig_err = Error::Io(std::io::Error::from(err));
if let Some(path) = path {
ig_err = Error::WithPath {
path,
err: Box::new(ig_err),
};
}
ig_err
}
Domain
Subdomains
Source
Frequently Asked Questions
What does from_walkdir() do?
from_walkdir() is a function in the tailwindcss codebase.
What does from_walkdir() call?
from_walkdir() calls 3 function(s): depth, map, path.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free