Enum git_config::fs::ConfigSource
source · [−]pub enum ConfigSource {
System,
Global,
User,
Repository,
Env,
Cli,
}Variants
System
System-wide configuration path. This is defined as
$(prefix)/etc/gitconfig.
Global
Also known as the user configuration path. This is usually ~/.gitconfig.
User
Second user-specific configuration path; if $XDG_CONFIG_HOME is not
set or empty, $HOME/.config/git/config will be used. Any single-valued
variable set in this file will be overridden by whatever is in the
Global configuration file.
Repository
Env
Config values parsed from the environment.
Cli
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfigSource
impl Send for ConfigSource
impl Sync for ConfigSource
impl Unpin for ConfigSource
impl UnwindSafe for ConfigSource
Blanket Implementations
Mutably borrows from an owned value. Read more