from_entry() — tailwindcss Function Reference
Architecture documentation for the from_entry() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD c9393a41_60b0_2c9f_d0be_286e9c7c6255["from_entry()"] b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] c9393a41_60b0_2c9f_d0be_286e9c7c6255 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565 4825dec2_fb68_889a_5be0_2277e9d7cb28["generate_work()"] 4825dec2_fb68_889a_5be0_2277e9d7cb28 -->|calls| c9393a41_60b0_2c9f_d0be_286e9c7c6255 7c35797c_376b_46cc_0bcc_252ecf7ec955["file_type()"] c9393a41_60b0_2c9f_d0be_286e9c7c6255 -->|calls| 7c35797c_376b_46cc_0bcc_252ecf7ec955 eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"] c9393a41_60b0_2c9f_d0be_286e9c7c6255 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0 3c51f0ff_4cd6_d95d_d673_2bd6bd97e029["from_entry_os()"] c9393a41_60b0_2c9f_d0be_286e9c7c6255 -->|calls| 3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 style c9393a41_60b0_2c9f_d0be_286e9c7c6255 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 333–342
fn from_entry(depth: usize, ent: &fs::DirEntry) -> Result<DirEntryRaw, Error> {
let ty = ent.file_type().map_err(|err| {
let err = Error::Io(io::Error::from(err)).with_path(ent.path());
Error::WithDepth {
depth,
err: Box::new(err),
}
})?;
DirEntryRaw::from_entry_os(depth, ent, ty)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does from_entry() do?
from_entry() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is from_entry() defined?
from_entry() is defined in crates/ignore/src/walk.rs at line 333.
What does from_entry() call?
from_entry() calls 3 function(s): file_type, from_entry_os, path.
What calls from_entry()?
from_entry() is called by 1 function(s): generate_work.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free