Skip to main content

Crate arks_config

Crate arks_config 

Source
Expand description

Git config read-side for arks.

Parses git-config files and merges them in stock precedence order (system → global → repository → GIT_CONFIG_COUNT env → GIT_CONFIG_PARAMETERS), last value wins. Also resolves author / committer identity.

Primary: https://git-scm.com/docs/git-config (§SYNTAX, §FILES, §ENVIRONMENT), https://git-scm.com/docs/git-commit-tree (§COMMIT INFORMATION). Cite: .spec/sot/cloud-agent-dropin.sot.md §C.

Partial: includeIf conditions are skipped (unconditional include.path is honored).

Structs§

ConfigEntry
ConfigSet
Ordered entries; later entries override earlier ones for single-valued reads.
Ident
IdentError
ParseError

Enums§

ConfigScope
Where an entry came from (low → high precedence).
IdentRole

Functions§

cli_overrides
The git -c overrides recorded so far, in order (for child processes, which receive them through GIT_CONFIG_PARAMETERS like git’s children).
parse_bool
git-config boolean (§Values: boolean).
parse_config_parameters
Parse GIT_CONFIG_PARAMETERS ('k'='v' or 'k=v' items, shell single-quoted).
parse_config_text
Parse one config file body.
push_cli_override
Record a -c name[=value] global option; applies to every later load.
resolve_ident