MCPcopy Create free account
hub / github.com/MG-RAST/Shock / multiReaderAt

Struct multiReaderAt

shock-server/node/file/file.go:80–84  ·  view source on GitHub ↗

multiReaderAt is private struct for the multi-file ReaderAt that provides the ablity to use indexes with vitrual files.

Source from the content-addressed store, hash-verified

78// multiReaderAt is private struct for the multi-file ReaderAt
79// that provides the ablity to use indexes with vitrual files.
80type multiReaderAt struct {
81 readers []ReaderAt
82 boundaries []multifd
83 size int64
84}
85
86// MultiReaderAt returns a ReaderAt that's the logical concatenation of
87// the provided input readers. BUG / KNOW-ISSUE: all file handles are opened

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected