Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
96
func
NewByteBody(by []byte) ReadSeekCloser {
97
return
&closingByteReader{Reader: bytes.NewReader(by)}
98
}
99
100
type
closingByteReader
struct
{
101
*bytes.Reader
Callers
1
NewByteBodyWithCallback
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected