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

Function NewByteBody

tools/copycallback.go:96–98  ·  view source on GitHub ↗
(by []byte)

Source from the content-addressed store, hash-verified

94}
95
96func NewByteBody(by []byte) ReadSeekCloser {
97 return &closingByteReader{Reader: bytes.NewReader(by)}
98}
99
100type closingByteReader struct {
101 *bytes.Reader

Callers 1

NewByteBodyWithCallbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected