MCPcopy
hub / github.com/go-git/go-git / Error

Method Error

remote.go:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (e NoMatchingRefSpecError) Error() string {
45 return fmt.Sprintf("couldn't find remote ref %q", e.refSpec.Src())
46}
47
48func (e NoMatchingRefSpecError) Is(target error) bool {
49 _, ok := target.(NoMatchingRefSpecError)

Callers 15

BenchmarkPlainCloneFunction · 0.45
TestVerifyExtensionsFunction · 0.45
TestValidPathFunction · 0.45
PushContextMethod · 0.45
TestGetAndPutBytesBufferFunction · 0.45
TestGetAndPutByteSliceFunction · 0.45
TestGetAndPutBufioReaderFunction · 0.45
TestEmptyFunction · 0.45
TestOneTargetFunction · 0.45
TestMultipleTargetsFunction · 0.45
TestPrintfFunction · 0.45

Calls 1

SrcMethod · 0.80

Tested by 15

BenchmarkPlainCloneFunction · 0.36
TestVerifyExtensionsFunction · 0.36
TestValidPathFunction · 0.36
TestGetAndPutBytesBufferFunction · 0.36
TestGetAndPutByteSliceFunction · 0.36
TestGetAndPutBufioReaderFunction · 0.36
TestEmptyFunction · 0.36
TestOneTargetFunction · 0.36
TestMultipleTargetsFunction · 0.36
TestPrintfFunction · 0.36