read_dir() — tailwindcss Function Reference
Architecture documentation for the read_dir() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 711131a2_def6_b05a_eec6_7d8ffa512bd3["read_dir()"] cd9c919e_b7b4_e9fa_afba_bda77720d4a4["run_one()"] cd9c919e_b7b4_e9fa_afba_bda77720d4a4 -->|calls| 711131a2_def6_b05a_eec6_7d8ffa512bd3 71e93def_7a6f_7fac_bfd6_1619a991cc7c["no_read_permissions()"] 71e93def_7a6f_7fac_bfd6_1619a991cc7c -->|calls| 711131a2_def6_b05a_eec6_7d8ffa512bd3 55dd83a4_0144_9917_edad_d9a20af65a76["path()"] 711131a2_def6_b05a_eec6_7d8ffa512bd3 -->|calls| 55dd83a4_0144_9917_edad_d9a20af65a76 8dcded00_73b5_510f_35e9_d6a8a17b3f61["depth()"] 711131a2_def6_b05a_eec6_7d8ffa512bd3 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61 style 711131a2_def6_b05a_eec6_7d8ffa512bd3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 1488–1502
fn read_dir(&mut self) -> Result<fs::ReadDir, Error> {
let readdir = match fs::read_dir(self.dent.path()) {
Ok(readdir) => readdir,
Err(err) => {
let err = Error::from(err)
.with_path(self.dent.path())
.with_depth(self.dent.depth());
return Err(err);
}
};
let (ig, err) = self.ignore.add_child(self.dent.path());
self.ignore = ig;
self.dent.err = err;
Ok(readdir)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does read_dir() do?
read_dir() is a function in the tailwindcss codebase.
What does read_dir() call?
read_dir() calls 2 function(s): depth, path.
What calls read_dir()?
read_dir() is called by 2 function(s): no_read_permissions, run_one.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free