Skip to main content

Module exec

Module exec 

Source
Expand description

Two real Git execution backends (0036 RW7/RW8): local git via std::process with -C workdir, and bounded remote git via the shared remote-execution boundary (strop_remote::run). Not a provider framework — the enum’s two variants are every backend that exists, and the remote variant is the only path that can carry a remote workdir anywhere.

Exit codes are data on both sides (diff --quiet exits 1): GitRun reports success and the raw code; callers that need “did git itself refuse” match on the code, not on stderr text. Remote output bounds are surfaced as dropped counts — a parser that needs a complete record stream must refuse truncated output, never parse a prefix as if it were the whole answer.

Structs§

GitRun
One bounded git run’s native bytes.

Enums§

GitExec
Where one Git query executes. Constructed from a RepoTarget so a remote workdir can only ever reach the remote variant.
GitExecError
Why a bounded git run could not produce its bytes.