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

Method Validate

cache/cached.go:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (e *CachedEntityBase[SnapT, OpT]) Validate() error {
64 e.mu.RLock()
65 defer e.mu.RUnlock()
66 return e.entity.Validate()
67}
68
69func (e *CachedEntityBase[SnapT, OpT]) Commit() error {
70 e.mu.Lock()

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected