Skip to main content

Module git_layer

Module git_layer 

Source
Expand description

Git-based version control layer using gix. Provides in-process commits, logs, tags, restore, and diffs.

§RFC-013 Improvements

  • B1: Signature captures fresh timestamp per commit (not OnceLock cached).
  • B2: restore_file traverses nested paths (e.g. audit/2024-05.audit).
  • D1: CommitContext enables per-agent author tracking.
  • D2: diff_commits / file_at_commit for Ouroboros evaluate.
  • D3: Removed hex round-trips; list_tags uses Category::Tag.

Structs§

CommitContext
Commit metadata supplied by the caller to identify who is committing.
CommitDiff
Diff result between two commits.
CommitInfo
Commit information returned after a successful commit.
DiffStats
Aggregate diff statistics.
FileDiff
Change record for a single file between two commits.
GitLayer
Git-based version control layer.
LogEntry
A single commit log entry.

Enums§

DiffKind
Change kind for a single file.