Documentation ¶
Index ¶
Constants ¶
View Source
const CIDSizePrefix = 4
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreeList ¶
type FreeList struct {
// contains filtered or unexported fields
}
A primary storage that is CID aware.
func OpenFreeList ¶
func (*FreeList) Close ¶
Close calls Flush to write work and data to the freelist file, and then closes the file.
func (*FreeList) Iter ¶
func (cp *FreeList) Iter() (*FreeListIter, error)
func (*FreeList) OutstandingWork ¶
type FreeListIter ¶
type FreeListIter struct {
// contains filtered or unexported fields
}
func NewFreeListIter ¶
func NewFreeListIter(reader *os.File) *FreeListIter
Click to show internal directories.
Click to hide internal directories.