Documentation
¶
Index ¶
Constants ¶
View Source
const MaxBlocks uint64 = 511
Maximum size of inode, in blocks.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inode ¶
type Inode struct {
// contains filtered or unexported fields
}
func (*Inode) Append ¶
Append adds a block to the inode.
Returns false on failure (if the allocator or inode are out of space)
func (*Inode) UsedBlocks ¶
UsedBlocks returns the addresses allocated to the inode for the purposes of recovery. Assumes full ownership of the inode, so does not lock, and expects the caller to need only temporary access to the returned slice.
Click to show internal directories.
Click to hide internal directories.