Structs§
- Command
- Command
Cache - Per-command cache configuration.
- Config
- Global
Cache - Global cache settings.
- Hook
Config - Hooks
- All supported git hooks. Configure any hook by adding its name as a key.
- RefEntry
- A reference to a named definition in the
definitionssection.
Enums§
- Command
Entry - A command entry in a hook’s command list: either an inline command definition
or a reference to a named definition (
$ref: name). - Definition
Entry - A reusable command definition: a single command mapping or a list of commands.
Constants§
- CONFIG_
FILE - SCHEMA_
FILE - SCHEMA_
JSON - The JSON Schema for
githops.yaml, embedded at compile time. Usewrite_schemato materialize it on disk.
Functions§
- validate_
depends_ pub - write_
schema - Write the embedded JSON Schema to
<dir>/.githops/githops.schema.jsonif it is absent or differs from the embedded version.