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 42991d00_48e0_a4e5_be1a_ddc6505d4057["home_dir()"] d72b72ec_4f12_8a48_cfb1_6b9a0f37ac23["gitconfig_home_contents()"] d72b72ec_4f12_8a48_cfb1_6b9a0f37ac23 -->|calls| 42991d00_48e0_a4e5_be1a_ddc6505d4057 e0ba1c7d_27a6_033d_fe3d_4fb82fcc37b5["gitconfig_xdg_contents()"] e0ba1c7d_27a6_033d_fe3d_4fb82fcc37b5 -->|calls| 42991d00_48e0_a4e5_be1a_ddc6505d4057 99056532_5d84_6416_6078_f20916194b19["excludes_file_default()"] 99056532_5d84_6416_6078_f20916194b19 -->|calls| 42991d00_48e0_a4e5_be1a_ddc6505d4057 2aba6383_fb10_9759_134b_ef68e0030b7e["expand_tilde()"] 2aba6383_fb10_9759_134b_ef68e0030b7e -->|calls| 42991d00_48e0_a4e5_be1a_ddc6505d4057 style 42991d00_48e0_a4e5_be1a_ddc6505d4057 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