gitconfig_excludes_path() — tailwindcss Function Reference
Architecture documentation for the gitconfig_excludes_path() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2f610908_1425_7521_083b_1eab5c1ed5ad["gitconfig_excludes_path()"] 61377720_4557_3c63_7653_b6ed73e2face["gitignore.rs"] 2f610908_1425_7521_083b_1eab5c1ed5ad -->|defined in| 61377720_4557_3c63_7653_b6ed73e2face 754854aa_e099_3833_b439_120751057d45["build_global()"] 754854aa_e099_3833_b439_120751057d45 -->|calls| 2f610908_1425_7521_083b_1eab5c1ed5ad 755de5e1_846f_a08b_35fd_7170ec4a9a5e["gitconfig_home_contents()"] 2f610908_1425_7521_083b_1eab5c1ed5ad -->|calls| 755de5e1_846f_a08b_35fd_7170ec4a9a5e cd8e1cd4_0aec_282f_80ee_e6723b060057["parse_excludes_file()"] 2f610908_1425_7521_083b_1eab5c1ed5ad -->|calls| cd8e1cd4_0aec_282f_80ee_e6723b060057 95f6c61b_6b55_dcf9_a626_f7f41dd17817["gitconfig_xdg_contents()"] 2f610908_1425_7521_083b_1eab5c1ed5ad -->|calls| 95f6c61b_6b55_dcf9_a626_f7f41dd17817 ac1b3140_bdbb_f1f9_9864_a5152ef3967f["excludes_file_default()"] 2f610908_1425_7521_083b_1eab5c1ed5ad -->|calls| ac1b3140_bdbb_f1f9_9864_a5152ef3967f style 2f610908_1425_7521_083b_1eab5c1ed5ad fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/gitignore.rs lines 578–592
pub fn gitconfig_excludes_path() -> Option<PathBuf> {
// git supports $HOME/.gitconfig and $XDG_CONFIG_HOME/git/config. Notably,
// both can be active at the same time, where $HOME/.gitconfig takes
// precedent. So if $HOME/.gitconfig defines a `core.excludesFile`, then
// we're done.
match gitconfig_home_contents().and_then(|x| parse_excludes_file(&x)) {
Some(path) => return Some(path),
None => {}
}
match gitconfig_xdg_contents().and_then(|x| parse_excludes_file(&x)) {
Some(path) => return Some(path),
None => {}
}
excludes_file_default()
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does gitconfig_excludes_path() do?
gitconfig_excludes_path() is a function in the tailwindcss codebase, defined in crates/ignore/src/gitignore.rs.
Where is gitconfig_excludes_path() defined?
gitconfig_excludes_path() is defined in crates/ignore/src/gitignore.rs at line 578.
What does gitconfig_excludes_path() call?
gitconfig_excludes_path() calls 4 function(s): excludes_file_default, gitconfig_home_contents, gitconfig_xdg_contents, parse_excludes_file.
What calls gitconfig_excludes_path()?
gitconfig_excludes_path() is called by 1 function(s): build_global.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free