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 4a40236e_7852_7d42_0756_529c9da2f5ba["build_global()"] 12d9a85f_6ea1_3060_e637_3ee4e18adb00["global()"] 12d9a85f_6ea1_3060_e637_3ee4e18adb00 -->|calls| 4a40236e_7852_7d42_0756_529c9da2f5ba ae012ab6_9cfc_afd5_a99d_c076b3ac0f7c["add()"] 4a40236e_7852_7d42_0756_529c9da2f5ba -->|calls| ae012ab6_9cfc_afd5_a99d_c076b3ac0f7c 7903e9fa_c4f3_6282_ebe5_eed525a2a2b0["build()"] 4a40236e_7852_7d42_0756_529c9da2f5ba -->|calls| 7903e9fa_c4f3_6282_ebe5_eed525a2a2b0 5331ff0c_3d47_bcab_69fd_d4c5653491ad["gitconfig_excludes_path()"] 4a40236e_7852_7d42_0756_529c9da2f5ba -->|calls| 5331ff0c_3d47_bcab_69fd_d4c5653491ad add79117_bda9_cdfc_f444_050522373f88["empty()"] 4a40236e_7852_7d42_0756_529c9da2f5ba -->|calls| add79117_bda9_cdfc_f444_050522373f88 style 4a40236e_7852_7d42_0756_529c9da2f5ba 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
Called By
Source
Frequently Asked Questions
What does build_global() do?
build_global() is a function in the tailwindcss codebase.
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