package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

NewGenericDirectoryFD creates a new GenericDirectoryFD and returns its dentry.
NewStaticDir creates a new static directory and returns its dentry.
NewStaticSymlink creates a new symlink file pointing to 'target'.

# Constants

Consider the end of the file to be after the final static entry.
Consider the end of the file to be at offset 0.
enableLogging indicates whether reference-related events should be logged (with stack traces).

# Variables

obj is used to customize logging.

# Structs

CachedMappable implements memmap.Mappable.
Dentry implements vfs.DentryImpl.
DynamicBytesFD implements vfs.FileDescriptionImpl for an FD backed by a DynamicBytesFile.
DynamicBytesFile implements kernfs.Inode and represents a read-only file whose contents are backed by a vfs.DynamicBytesSource.
Filesystem mostly implements vfs.FilesystemImpl for a generic in-memory filesystem.
GenericDirectoryFD implements vfs.FileDescriptionImpl for a generic directory inode that uses OrderChildren to track child nodes.
GenericDirectoryFDOptions contains configuration for a GenericDirectoryFD.
InodeAlwaysValid partially implements Inode.
InodeAnonymous partially implements Inode.
InodeAttrs partially implements the Inode interface, specifically the inodeMetadata sub interface.
InodeDirectoryNoNewChildren partially implements the Inode interface.
InodeNoopRefCount partially implements the Inode interface, specifically the inodeRefs sub interface.
InodeNoStatFS partially implements the Inode interface, where the client filesystem doesn't support statfs(2).
InodeNotAnonymous partially implements Inode.
InodeNotDirectory partially implements the Inode interface, specifically the inodeDirectory and inodeDynamicDirectory sub interfaces.
InodeNotSymlink partially implements the Inode interface, specifically the inodeSymlink sub interface.
InodeSymlink partially implements Inode interface for symlinks.
InodeTemporary partially implements Inode.
InodeWatches partially implements Inode.
OrderedChildren partially implements the Inode interface.
OrderedChildrenOptions contains initialization options for OrderedChildren.
StaticDirectory is a standard implementation of a directory with static contents.
Refs implements refs.RefCounter.
StaticSymlink provides an Inode implementation for symlinks that point to a immutable target.

# Interfaces

The Inode interface maps filesystem-level operations that operate on paths to equivalent operations on specific filesystem nodes.

# Type aliases

SeekEndConfig describes the SEEK_END behaviour for FDs.