MCPcopy Create free account
hub / github.com/conforma/cli / gitState

Struct gitState

acceptance/git/git.go:57–63  ·  view source on GitHub ↗

we store the gitState struct under this key in Context and when persisted

Source from the content-addressed store, hash-verified

55const gitStateKey = key(0) // we store the gitState struct under this key in Context and when persisted
56
57type gitState struct {
58 HostAndPort string
59 RepositoriesDir string
60 CertificatePath string
61 LatestCommit string
62 Container testcontainers.Container `json:"-"`
63}
64
65func (g gitState) Key() any {
66 return gitStateKey

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected