Expand description
Repository configuration (.cadvm/config.json) and author resolution.
Config is a flat key = value store serialized as a JSON object. The only
keys cadvm interprets today are USER_NAME and USER_EMAIL, used to
stamp commits, but arbitrary keys may be stored.
Structs§
- Config
- A flat string key/value configuration store.
Constants§
- ENV_
AUTHOR_ EMAIL - Environment variable that overrides the author email.
- ENV_
AUTHOR_ NAME - Environment variable that overrides the author name.
- USER_
EMAIL - Config key for the author email.
- USER_
NAME - Config key for the author name.
Functions§
- resolve_
author - Resolve the commit author: environment overrides config, which overrides a neutral fallback. Never fails — a snapshot must always be possible.