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

Method folderReader

reader.go:339–342  ·  view source on GitHub ↗
(si *streamsInfo, f int)

Source from the content-addressed store, hash-verified

337}
338
339func (z *Reader) folderReader(si *streamsInfo, f int) (*folderReadCloser, uint32, bool, error) {
340 // Create a SectionReader covering all of the streams data
341 return si.folderReader(io.NewSectionReader(z.r, z.start, z.end-z.start), f, z.p)
342}
343
344const (
345 chunkSize = 4096

Callers 3

initMethod · 0.95
TestFileReadCloser_SeekFunction · 0.45
OpenMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestFileReadCloser_SeekFunction · 0.36