MCPcopy Create free account
hub / github.com/go-git/go-git / Error

Method Error

remote.go:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 15

BenchmarkPlainCloneFunction · 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 12

BenchmarkPlainCloneFunction · 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
testAlternatesFunction · 0.36