MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / GitTokenStore

Struct GitTokenStore

internal/store/gitstore.go:28–39  ·  view source on GitHub ↗

GitTokenStore persists token records and auth metadata using git as the backing storage.

Source from the content-addressed store, hash-verified

26
27// GitTokenStore persists token records and auth metadata using git as the backing storage.
28type GitTokenStore struct {
29 mu sync.Mutex
30 dirLock sync.RWMutex
31 baseDir string
32 repoDir string
33 configDir string
34 remote string
35 branch string
36 username string
37 password string
38 lastGC time.Time
39}
40
41type resolvedRemoteBranch struct {
42 name plumbing.ReferenceName

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected