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