MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / DecodePointer

Function DecodePointer

lfs/pointer.go:118–121  ·  view source on GitHub ↗
(reader io.Reader)

Source from the content-addressed store, hash-verified

116 return DecodePointer(f)
117}
118func DecodePointer(reader io.Reader) (*Pointer, error) {
119 p, _, err := DecodeFrom(reader)
120 return p, err
121}
122
123// DecodeFrom decodes an *lfs.Pointer from the given io.Reader, "reader".
124// If the pointer encoded in the reader could successfully be read and decoded,

Callers 14

checkoutConflictFunction · 0.92
pointerCommandFunction · 0.92
migrateExportCommandFunction · 0.92
nextMethod · 0.85
finishLastPointerMethod · 0.85
TestDecodeTinyFileFunction · 0.85
TestDecodeFunction · 0.85
TestDecodeExtensionsFunction · 0.85
TestDecodeExtensionsSortFunction · 0.85
TestDecodePreReleaseFunction · 0.85
TestDecodeCanonicalFunction · 0.85
TestDecodeInvalidFunction · 0.85

Calls 1

DecodeFromFunction · 0.85

Tested by 7

TestDecodeTinyFileFunction · 0.68
TestDecodeFunction · 0.68
TestDecodeExtensionsFunction · 0.68
TestDecodeExtensionsSortFunction · 0.68
TestDecodePreReleaseFunction · 0.68
TestDecodeCanonicalFunction · 0.68
TestDecodeInvalidFunction · 0.68