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 c3928b53_09b6_abd6_e1af_169ef4b220b7["read_dir()"] 8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"] c3928b53_09b6_abd6_e1af_169ef4b220b7 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79 04e8d630_da3f_f0a4_57a8_0bd018070b1a["run_one()"] 04e8d630_da3f_f0a4_57a8_0bd018070b1a -->|calls| c3928b53_09b6_abd6_e1af_169ef4b220b7 1cc1037f_ecc5_d6c9_e88d_7ed2ad442c72["no_read_permissions()"] 1cc1037f_ecc5_d6c9_e88d_7ed2ad442c72 -->|calls| c3928b53_09b6_abd6_e1af_169ef4b220b7 934d114d_964b_414a_2b41_82e8174b7c3d["path()"] c3928b53_09b6_abd6_e1af_169ef4b220b7 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d 81a81328_f9d1_4939_ace7_0cf7fd2523a1["depth()"] c3928b53_09b6_abd6_e1af_169ef4b220b7 -->|calls| 81a81328_f9d1_4939_ace7_0cf7fd2523a1 style c3928b53_09b6_abd6_e1af_169ef4b220b7 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
Defined In
Called By
Source
Frequently Asked Questions
What does read_dir() do?
read_dir() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is read_dir() defined?
read_dir() is defined in crates/ignore/src/walk.rs at line 1488.
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