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

Method Read

internal/stream/stream.go:529–535  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

527}
528
529func (r *RangeReadReadAtSeeker) Read(p []byte) (n int, err error) {
530 n, err = r.ReadAt(p, r.masterOff)
531 if n > 0 {
532 r.masterOff += int64(n)
533 }
534 return n, err
535}

Callers

nothing calls this directly

Calls 1

ReadAtMethod · 0.95

Tested by

no test coverage detected