Expand description
Git Interactive Rebase Tool - Configuration Module
§Description
This module is used to handle the loading of configuration from the Git config system.
use config::Config;
use git::Repository;
let config = Config::try_from(&Repository::open_from_env().unwrap());§Test Utilities
To facilitate testing the usages of this crate, a set of testing utilities are provided. Since these utilities are not tested, and often are optimized for developer experience than performance should only be used in test code.
Modules§
- errors
- Git Interactive Rebase Tool - Config crate errors
Structs§
- Config
- Represents the configuration options.
- GitConfig
- Represents the git configuration options.
- KeyBindings
- Represents the key binding configuration options.
- Theme
- Represents the theme configuration options.
Enums§
- Color
- Represents a color.
- Diff
Ignore Whitespace Setting - Configuration option for how to ignore whitespace during diff calculation.
- Diff
Show Whitespace Setting - Configuration option for how to show whitespace when displaying diffs.