MCPcopy Create free account
hub / github.com/git-bug/git-bug / NeedCommit

Method NeedCommit

cache/cached.go:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89}
90
91func (e *CachedEntityBase[SnapT, OpT]) NeedCommit() bool {
92 e.mu.RLock()
93 defer e.mu.RUnlock()
94 return e.entity.NeedCommit()
95}
96
97func (e *CachedEntityBase[SnapT, OpT]) Lock() {
98 e.mu.Lock()

Callers

nothing calls this directly

Calls 1

NeedCommitMethod · 0.65

Tested by

no test coverage detected