MCPcopy
hub / github.com/git-lfs/git-lfs / EmptyPointer

Function EmptyPointer

lfs/pointer.go:84–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func EmptyPointer() *Pointer {
85 return NewPointer(fs.EmptyObjectSHA256, 0, nil)
86}
87
88func EncodePointer(writer io.Writer, pointer *Pointer) (int, error) {
89 return writer.Write([]byte(pointer.Encoded()))

Callers 1

DecodeFromFunction · 0.85

Calls 1

NewPointerFunction · 0.85

Tested by

no test coverage detected