anon

package
v0.0.0-...-ff2c174 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package anon implements an anonymous inode, useful for implementing inodes for pseudo filesystems.

Index

Constants

This section is empty.

Variables

View Source
var PseudoDevice = device.NewAnonDevice()

PseudoDevice is the device on which all anonymous inodes reside.

Functions

func NewInode

func NewInode(ctx context.Context) *fs.Inode

NewInode constructs an anonymous Inode that is not associated with any real filesystem. Some types depend on completely pseudo "anon" inodes (eventfds, epollfds, etc).

Types

This section is empty.

Jump to

Keyboard shortcuts

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