Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-git/go-git
/ Is
Method
Is
remote.go:48–51 ·
view source on GitHub ↗
(target error)
Source
from the content-addressed store, hash-verified
46
}
47
48
func
(e NoMatchingRefSpecError) Is(target error) bool {
49
_, ok := target.(NoMatchingRefSpecError)
50
return
ok
51
}
52
53
const
(
54
// This describes the maximum number of commits to walk when
Callers
15
TestFetchNonExistentReference
Method · 0.80
TestFetchFastForwardForCustomRef
Function · 0.80
writeCommitToRef
Function · 0.80
NewRepository
Method · 0.80
TestResetLingeringDirectories
Method · 0.80
TestSubmoduleRepositoryRejectsEscapingName
Method · 0.80
fetchPack
Method · 0.80
pruneRemotes
Method · 0.80
getHavesFromRef
Function · 0.80
checkReferenceAndTruncate
Method · 0.80
TestModuleRejectsEscapingNames
Method · 0.80
Check
Method · 0.80
Calls
no outgoing calls
Tested by
13
TestFetchNonExistentReference
Method · 0.64
TestFetchFastForwardForCustomRef
Function · 0.64
writeCommitToRef
Function · 0.64
NewRepository
Method · 0.64
TestResetLingeringDirectories
Method · 0.64
TestSubmoduleRepositoryRejectsEscapingName
Method · 0.64
TestModuleRejectsEscapingNames
Method · 0.64
TestDecodeRequiresTreeFirst
Method · 0.64
TestDecodeRequiresHeaders
Method · 0.64
TestDecodeAllIndexFixtures
Function · 0.64
TestBoundedWriter
Function · 0.64
TestDecoderRejectsInconsistentObjectCount
Function · 0.64