home_dir() — tailwindcss Function Reference
Architecture documentation for the home_dir() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 7a5da90e_5d46_3203_b841_466df8436759["home_dir()"] 9887cd9e_c842_94cc_49b5_6064dad646e4["gitconfig_home_contents()"] 9887cd9e_c842_94cc_49b5_6064dad646e4 -->|calls| 7a5da90e_5d46_3203_b841_466df8436759 28fb2f68_5dec_15a7_d49e_37ac627e2bd1["gitconfig_xdg_contents()"] 28fb2f68_5dec_15a7_d49e_37ac627e2bd1 -->|calls| 7a5da90e_5d46_3203_b841_466df8436759 2efb2067_00b9_e5dd_1f84_d066ab6ff3a8["excludes_file_default()"] 2efb2067_00b9_e5dd_1f84_d066ab6ff3a8 -->|calls| 7a5da90e_5d46_3203_b841_466df8436759 3a84d65e_91fa_3be5_6d33_82cfa7c5da01["expand_tilde()"] 3a84d65e_91fa_3be5_6d33_82cfa7c5da01 -->|calls| 7a5da90e_5d46_3203_b841_466df8436759 style 7a5da90e_5d46_3203_b841_466df8436759 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/gitignore.rs lines 685–690
fn home_dir() -> Option<PathBuf> {
// We're fine with using std::env::home_dir for now. Its bugs are, IMO,
// pretty minor corner cases.
#![allow(deprecated)]
std::env::home_dir()
}
Domain
Subdomains
Source
Frequently Asked Questions
What does home_dir() do?
home_dir() is a function in the tailwindcss codebase.
What calls home_dir()?
home_dir() is called by 4 function(s): excludes_file_default, expand_tilde, gitconfig_home_contents, gitconfig_xdg_contents.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free