MCPcopy Create free account
hub / github.com/bodgit/sevenzip / Read

Method Read

reader.go:815–817  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

813var errIsDirectory = errors.New("is a directory")
814
815func (d *openDir) Read([]byte) (int, error) {
816 return 0, &iofs.PathError{Op: "read", Path: d.e.name, Err: errIsDirectory}
817}
818
819func (d *openDir) ReadDir(count int) ([]iofs.DirEntry, error) {
820 n := len(d.files) - d.offset

Callers 6

readCRCFunction · 0.45
readCoderFunction · 0.45
readTimesFunction · 0.45
readAttributesFunction · 0.45
ReadMethod · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected