Module bootstrap

Module bootstrap 

Source

Constants§

DEFAULT_GITIGNORE_FILE_NAME

Functions§

default_home_dir
Attempts to resolve the current user’s home directory using common environment variables and the dirs crate fallback.
determine_bootstrap_targets
Determine where configuration and gitignore files should be created when bootstrapping a workspace.
ensure_parent_dir
Ensures the parent directory for the provided path exists, creating it if necessary.
gitignore_path_for
Returns the preferred gitignore path for a given configuration file.
select_home_config_path
Selects the home directory configuration path from the defaults provider or falls back to the system home directory.