current_dir() — tailwindcss Function Reference
Architecture documentation for the current_dir() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 62b2e6fc_c302_c042_c940_6296d99a4d41["current_dir()"] 93d52820_2935_3539_0249_3548606f967a["get_or_set_current_dir()"] 93d52820_2935_3539_0249_3548606f967a -->|calls| 62b2e6fc_c302_c042_c940_6296d99a4d41 style 62b2e6fc_c302_c042_c940_6296d99a4d41 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 985–993
pub fn current_dir(&mut self, cwd: impl Into<PathBuf>) -> &mut WalkBuilder {
let cwd = cwd.into();
self.ig_builder.current_dir(cwd.clone());
if let Err(cwd) = self.global_gitignores_relative_to.set(Ok(cwd)) {
// OK because `Err` from `set` implies a value exists.
*self.global_gitignores_relative_to.get_mut().unwrap() = cwd;
}
self
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does current_dir() do?
current_dir() is a function in the tailwindcss codebase.
What calls current_dir()?
current_dir() is called by 1 function(s): get_or_set_current_dir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free