MCPcopy
hub / github.com/git-lfs/git-lfs / Cause

Function Cause

errors/errors.go:92–101  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

90}
91
92func Cause(err error) error {
93 type causer interface {
94 Cause() error
95 }
96
97 if cause, ok := err.(causer); ok {
98 return Cause(cause.Cause())
99 }
100 return err
101}

Callers 4

locksCommandFunction · 0.92
lockCommandFunction · 0.92
unlockCommandFunction · 0.92
IsRetriableErrorFunction · 0.85

Calls 1

CauseMethod · 0.65

Tested by

no test coverage detected