Expand description
Git-based version control layer using gix. Provides in-process commits, logs, tags, restore, and diffs.
§RFC-013 Improvements
- B1:
Signaturecaptures fresh timestamp per commit (notOnceLockcached). - B2:
restore_filetraverses nested paths (e.g.audit/2024-05.audit). - D1:
CommitContextenables per-agent author tracking. - D2:
diff_commits/file_at_commitfor Ouroboros evaluate. - D3: Removed hex round-trips;
list_tagsusesCategory::Tag.
Structs§
- Commit
Context - Commit metadata supplied by the caller to identify who is committing.
- Commit
Diff - Diff result between two commits.
- Commit
Info - Commit information returned after a successful commit.
- Diff
Stats - Aggregate diff statistics.
- File
Diff - Change record for a single file between two commits.
- GitLayer
- Git-based version control layer.
- LogEntry
- A single commit log entry.
Enums§
- Diff
Kind - Change kind for a single file.