build_global() — tailwindcss Function Reference
Architecture documentation for the build_global() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 754854aa_e099_3833_b439_120751057d45["build_global()"] 61377720_4557_3c63_7653_b6ed73e2face["gitignore.rs"] 754854aa_e099_3833_b439_120751057d45 -->|defined in| 61377720_4557_3c63_7653_b6ed73e2face cce314a9_6cbb_c198_0249_7aa77a6cb089["global()"] cce314a9_6cbb_c198_0249_7aa77a6cb089 -->|calls| 754854aa_e099_3833_b439_120751057d45 f95b3cad_268d_6201_5f31_b8ae0f47ef4a["add()"] 754854aa_e099_3833_b439_120751057d45 -->|calls| f95b3cad_268d_6201_5f31_b8ae0f47ef4a 80a773f9_5f57_2f17_0199_9d45d676f37b["build()"] 754854aa_e099_3833_b439_120751057d45 -->|calls| 80a773f9_5f57_2f17_0199_9d45d676f37b 2f610908_1425_7521_083b_1eab5c1ed5ad["gitconfig_excludes_path()"] 754854aa_e099_3833_b439_120751057d45 -->|calls| 2f610908_1425_7521_083b_1eab5c1ed5ad 7fb7392f_63e5_8cf1_5936_83492336182d["empty()"] 754854aa_e099_3833_b439_120751057d45 -->|calls| 7fb7392f_63e5_8cf1_5936_83492336182d style 754854aa_e099_3833_b439_120751057d45 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/gitignore.rs lines 365–384
pub fn build_global(mut self) -> (Gitignore, Option<Error>) {
match gitconfig_excludes_path() {
None => (Gitignore::empty(), None),
Some(path) => {
if !path.is_file() {
(Gitignore::empty(), None)
} else {
let mut errs = PartialErrorBuilder::default();
errs.maybe_push_ignore_io(self.add(path));
match self.build() {
Ok(gi) => (gi, errs.into_error_option()),
Err(err) => {
errs.push(err);
(Gitignore::empty(), errs.into_error_option())
}
}
}
}
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does build_global() do?
build_global() is a function in the tailwindcss codebase, defined in crates/ignore/src/gitignore.rs.
Where is build_global() defined?
build_global() is defined in crates/ignore/src/gitignore.rs at line 365.
What does build_global() call?
build_global() calls 4 function(s): add, build, empty, gitconfig_excludes_path.
What calls build_global()?
build_global() is called by 1 function(s): global.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free