MCPcopy Index your code
hub / github.com/rclone/rclone / ReadAt

Method ReadAt

vfs/read_write.go:285–289  ·  view source on GitHub ↗

ReadAt bytes from the file at off

(b []byte, off int64)

Source from the content-addressed store, hash-verified

283
284// ReadAt bytes from the file at off
285func (fh *RWFileHandle) ReadAt(b []byte, off int64) (n int, err error) {
286 fh.mu.Lock()
287 defer fh.mu.Unlock()
288 return fh._readAt(b, off, true)
289}
290
291// Read bytes from the file
292func (fh *RWFileHandle) Read(b []byte) (n int, err error) {

Callers

nothing calls this directly

Calls 3

_readAtMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected