Expand description
Modules§
- checkout_
options attributes - command_
context attributes - credential_
helpers credentials - A high level wrapper around a single or multiple
git-configfile, for reading and mutation. - This module handles parsing a
git-configfile. Generally speaking, you want to use a higher abstraction such asFileunless you have some explicit reason to work with events instead. - The tree of supported configuration values for use in
config_overridesor 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
redorbrightgreen. - A utility structure created by
SnapshotMut::commit_auto_rollback()that restores the previous configuration on drop. - High level
git-configreader and writer. - Any value that can be interpreted as an integer.
- An unvalidated parse result of parsing input like
remote.origin.urlorcore.bare. - 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.
Traits§
- Parse parts of a Git configuration key, like
remote.origin.urlorcore.bare.
Functions§
- credential_
helpers credentialsReturns the configuration for all git-credential helpers from trusted configuration that apply to the givenurlalong with an action preconfigured to invoke the cascade with to retrieve it. This includesurlwhich may be altered to contain a user-name as configured.