GitTokenStore persists token records and auth metadata using git as the backing storage.
| 26 | |
| 27 | // GitTokenStore persists token records and auth metadata using git as the backing storage. |
| 28 | type 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 | |
| 41 | type resolvedRemoteBranch struct { |
| 42 | name plumbing.ReferenceName |
nothing calls this directly
no outgoing calls
no test coverage detected