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 34c23244_a31f_39f9_2781_7c62bc12c51f["from_walkdir()"] d51c8934_ce3d_f9d0_a14e_c9711e79f4e3["lib.rs"] 34c23244_a31f_39f9_2781_7c62bc12c51f -->|defined in| d51c8934_ce3d_f9d0_a14e_c9711e79f4e3 dd5df733_9761_a6ef_5c06_00bb2b826de5["depth()"] 34c23244_a31f_39f9_2781_7c62bc12c51f -->|calls| dd5df733_9761_a6ef_5c06_00bb2b826de5 bbdd7d00_dda3_76db_9c92_0ffbdecba347["path()"] 34c23244_a31f_39f9_2781_7c62bc12c51f -->|calls| bbdd7d00_dda3_76db_9c92_0ffbdecba347 e81b1958_c796_00f9_8176_3fcad47cc256["map()"] 34c23244_a31f_39f9_2781_7c62bc12c51f -->|calls| e81b1958_c796_00f9_8176_3fcad47cc256 style 34c23244_a31f_39f9_2781_7c62bc12c51f 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
Defined In
Source
Frequently Asked Questions
What does from_walkdir() do?
from_walkdir() is a function in the tailwindcss codebase, defined in crates/ignore/src/lib.rs.
Where is from_walkdir() defined?
from_walkdir() is defined in crates/ignore/src/lib.rs at line 292.
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