Expand description
The adapter that drives the git CLI and looks up binaries on PATH, and the only place that
calls std::process.
It translates between the ports and the processes it starts and decides nothing. It is the one
adapter allowed to use another adapter’s item, fs::cache.
§Responsibilities
GitCli: theGitport on thegitcommand line. Every disk step of the cache isfs::Cache, so the git adapter never callsstd::fs; only thePATHlookup reads file metadata.Snapshot: the files of one commit, read into memory and served as aFileTree.SystemBinary: theBinaryport onPATH, and the answer ofairsl --version.
§Non-responsibilities
No rule about what the output means: reading tag lines, tree records and the airsl version,
and the cache layout, belong to types. Locating a refusal at agentstacks.toml belongs to
the flows.
This file is an export-only module with no executable logic, so it carries no inline tests.
Modules§
Structs§
- GitCli
- The
gitcommand line as aGit. - Snapshot
- The files of one commit under a
subdir, in memory. - System
Binary - The executables on a
PATH.