global() — tailwindcss Function Reference
Architecture documentation for the global() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 48997f31_0eca_cb5b_2811_f06a1bc11708["global()"] de77b36f_3db5_ca54_4bd7_e5f41c58192f["build_global()"] 48997f31_0eca_cb5b_2811_f06a1bc11708 -->|calls| de77b36f_3db5_ca54_4bd7_e5f41c58192f 50f20e8a_eb44_5007_674d_776d3b0a5ef9["empty()"] 48997f31_0eca_cb5b_2811_f06a1bc11708 -->|calls| 50f20e8a_eb44_5007_674d_776d3b0a5ef9 style 48997f31_0eca_cb5b_2811_f06a1bc11708 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/gitignore.rs lines 130–135
pub fn global() -> (Gitignore, Option<Error>) {
match std::env::current_dir() {
Ok(cwd) => GitignoreBuilder::new(cwd).build_global(),
Err(err) => (Gitignore::empty(), Some(err.into())),
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does global() do?
global() is a function in the tailwindcss codebase.
What does global() call?
global() calls 2 function(s): build_global, empty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free