MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Read

Method Read

pkg/utils/io.go:21–21  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

19type readerFunc func(p []byte) (n int, err error)
20
21func (rf readerFunc) Read(p []byte) (n int, err error) { return rf(p) }
22
23// CopyWithCtx slightly modified function signature:
24// - context has been added in order to propagate cancellation

Callers 7

CopyWithCtxFunction · 0.45
ReadMethod · 0.45
GenerateFromReaderFunction · 0.45
CopyAndHashFunction · 0.45
loginMethod · 0.45
AddFromLinkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected