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 d16b5ee3_02a3_92c2_a820_d7fe222d6187["read_dir()"] e63c9a61_c0eb_fc8e_2a92_ab9b1af2a4db["run_one()"] e63c9a61_c0eb_fc8e_2a92_ab9b1af2a4db -->|calls| d16b5ee3_02a3_92c2_a820_d7fe222d6187 5bec7c92_53ea_c39d_0e28_940d7c5582cb["no_read_permissions()"] 5bec7c92_53ea_c39d_0e28_940d7c5582cb -->|calls| d16b5ee3_02a3_92c2_a820_d7fe222d6187 22e554e0_3279_5bba_cd5c_45aa591685d1["path()"] d16b5ee3_02a3_92c2_a820_d7fe222d6187 -->|calls| 22e554e0_3279_5bba_cd5c_45aa591685d1 ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e["depth()"] d16b5ee3_02a3_92c2_a820_d7fe222d6187 -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e style d16b5ee3_02a3_92c2_a820_d7fe222d6187 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