from_path() — tailwindcss Function Reference
Architecture documentation for the from_path() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 9cddcb8d_8667_c506_99c7_f194e438a77a["from_path()"] d73ec138_1801_f65e_9f01_1730eee813b7["visit()"] d73ec138_1801_f65e_9f01_1730eee813b7 -->|calls| 9cddcb8d_8667_c506_99c7_f194e438a77a 83e9692c_0ef1_97e5_4b56_90182cf80c7a["generate_work()"] 83e9692c_0ef1_97e5_4b56_90182cf80c7a -->|calls| 9cddcb8d_8667_c506_99c7_f194e438a77a 46ac3628_51ec_72d2_94bc_be8f59e5700a["check_symlink_loop()"] 46ac3628_51ec_72d2_94bc_be8f59e5700a -->|calls| 9cddcb8d_8667_c506_99c7_f194e438a77a 84f5dd61_79d6_6710_dbec_816fdb4b9a82["path_equals()"] 84f5dd61_79d6_6710_dbec_816fdb4b9a82 -->|calls| 9cddcb8d_8667_c506_99c7_f194e438a77a 9e3e4c53_b735_b27b_8c3c_3b94b013ee49["metadata()"] 9cddcb8d_8667_c506_99c7_f194e438a77a -->|calls| 9e3e4c53_b735_b27b_8c3c_3b94b013ee49 25008f69_d08a_b127_19c0_c487b5ab4ee2["file_type()"] 9cddcb8d_8667_c506_99c7_f194e438a77a -->|calls| 25008f69_d08a_b127_19c0_c487b5ab4ee2 81723d9e_a035_77db_5e10_3b0d7b320636["ino()"] 9cddcb8d_8667_c506_99c7_f194e438a77a -->|calls| 81723d9e_a035_77db_5e10_3b0d7b320636 style 9cddcb8d_8667_c506_99c7_f194e438a77a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 398–407
fn from_path(depth: usize, pb: PathBuf, link: bool) -> Result<DirEntryRaw, Error> {
let md = fs::metadata(&pb).map_err(|err| Error::Io(err).with_path(&pb))?;
Ok(DirEntryRaw {
path: pb,
ty: md.file_type(),
follow_link: link,
depth,
metadata: md,
})
}
Domain
Subdomains
Source
Frequently Asked Questions
What does from_path() do?
from_path() is a function in the tailwindcss codebase.
What does from_path() call?
from_path() calls 3 function(s): file_type, ino, metadata.
What calls from_path()?
from_path() is called by 4 function(s): check_symlink_loop, generate_work, path_equals, visit.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free