Expand description
GitRunner trait and DefaultGitRunner production implementation.
The trait is the primary testability seam in zeph-worktree. Unit tests
inject a FakeGitRunner (defined in the test module) that verifies argument
hygiene without touching the file system. Production code uses
DefaultGitRunner, which delegates to tokio::process::Command with a
default timeout of 30 seconds.
Structs§
- Default
GitRunner - Production
GitRunnerthat invokes the systemgitbinary.
Traits§
- GitRunner
- Runs
gitsub-commands on behalf ofWorktreeManager.