MCPcopy Index your code
hub / github.com/git-bug/git-bug / Commit

Method Commit

cache/identity_cache.go:45–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (i *IdentityCache) Commit() error {
46 i.mu.Lock()
47 err := i.Identity.Commit(i.repo)
48 i.mu.Unlock()
49 if err != nil {
50 return err
51 }
52 return i.notifyUpdated()
53}
54
55func (i *IdentityCache) CommitAsNeeded() error {
56 i.mu.Lock()

Callers 1

runBridgeAuthAddTokenFunction · 0.95

Calls 3

notifyUpdatedMethod · 0.95
LockMethod · 0.65
CommitMethod · 0.65

Tested by

no test coverage detected