Expand description
Modules
- checkout_options
attributes
- command_context
attributes
- credential_helpers
credentials
- A high level wrapper around a single or multiple
git-config
file, for reading and mutation. - This module handles parsing a
git-config
file. Generally speaking, you want to use a higher abstraction such asFile
unless you have some explicit reason to work with events instead. - The tree of supported configuration values for use in
config_overrides
or for validating and transforming well-known configuration values.
Structs
- Any value that can be interpreted as a boolean.
- Any value that may contain a foreground color, background color, a collection of color (text) modifiers, or a combination of any of the aforementioned values, like
red
orbrightgreen
. - A utility structure created by
SnapshotMut::commit_auto_rollback()
that restores the previous configuration on drop. - High level
git-config
reader and writer. - Any value that can be interpreted as an integer.
- Any value that can be interpreted as a path to a resource on disk.
- A platform to access configuration values as read from disk.
- A platform to access configuration values and modify them in memory, while making them available when this platform is dropped as form of auto-commit. Note that the values will only affect this instance of the parent repository, and not other clones that may exist.
- The root of the configuration tree, suitable to discover all sub-sections at runtime or compile time.
Enums
- The error returned when failing to initialize the repository configuration.
- A list of known sources for git configuration in order of ascending precedence.