Expand description
Git repository operations.
Ported from internal/backends/git/{interface,client,errors}.go.
state.rs carries the rest of Client’s methods (ported from
state.go), split the same way the Go package splits
client.go/state.go.
Modules§
- state
- Repository state detection helpers.
Structs§
- Client
- Ported from
Clientinclient.go. - Repository
State - Ported from
RepositoryStateininterface.go. - Status
- Ported from
Statusininterface.go.
Enums§
- GitError
- Ported from
errors.go’s sentinel errors, plus the exec-layer error this crate’sClientmethods wrap. Go’s%wwrapping of a sentinel alongside arbitrary formatted context becomes an explicit enum variant per call site; see individualClientmethods in Phase 4.
Traits§
- Backend
- Ported from the
Backendinterface ininterface.go.