Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem interface { }
func NewFileSystem ¶
func NewFileSystem(kv kv.KV) (FileSystem, error)
type RangeSystem ¶
type RangeSystem struct {
// contains filtered or unexported fields
}
func NewRangeSystem ¶
func NewRangeSystem() *RangeSystem
func (*RangeSystem) CreateRange ¶
func (rs *RangeSystem) CreateRange(fileOffset uint64, chunkID uint64, chunkOffset uint64) (*Range, error)
TODO Seems like the range needs to know where the last range ended. Consider where these numbers are being calculated
Click to show internal directories.
Click to hide internal directories.