single_inode

package
v0.0.0-...-3f81762 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Example client of inode that has a single inode and doesn't share the allocator with anything else.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SingleInode

type SingleInode struct {
	// contains filtered or unexported fields
}

func Open

func Open(d disk.Disk, sz uint64) *SingleInode

Restore the SingleInode from disk

sz should be the size of the disk to use

func (*SingleInode) Append

func (i *SingleInode) Append(b disk.Block) bool

func (*SingleInode) Read

func (i *SingleInode) Read(off uint64) disk.Block

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL