MCPcopy Create free account
hub / github.com/diskfs/go-diskfs / Read

Method Read

sync/copy_test.go:136–136  ·  view source on GitHub ↗

Read implements io.Reader (unused here).

(p []byte)

Source from the content-addressed store, hash-verified

134
135// Read implements io.Reader (unused here).
136func (f *fakeFile) Read(p []byte) (int, error) { return f.buf.Read(p) }
137
138// Close is a no-op.
139func (f *fakeFile) Close() error { return nil }

Callers 5

testTmpFilenameFunction · 0.45
copyOneFileFunction · 0.45
compareFileContentsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected