MCPcopy
hub / github.com/harness/harness / Is

Function Is

errors/stderr.go:23–25  ·  view source on GitHub ↗
(err error, target error)

Source from the content-addressed store, hash-verified

21}
22
23func Is(err error, target error) bool {
24 return errors.Is(err, target)
25}
26
27func As(err error, target any) bool {
28 return errors.As(err, target)

Callers 15

findLFSPointersMethod · 0.92
BlameMethod · 0.92
FindLFSPointersMethod · 0.92
SyncRepositoryMethod · 0.92
listGitObjDirMethod · 0.92
TestBlameReader_NextPartFunction · 0.92
catFileObjectsFunction · 0.92
NextPartMethod · 0.92
CreateKeyIfNotExistsFunction · 0.92

Calls 1

IsMethod · 0.45

Tested by 2

TestBlameReader_NextPartFunction · 0.74