memfs

package
v0.0.0-...-edf18a6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FileOpenFlagsXattrName     = "fileOpenFlagsXattr"
	CheckFileOpenFlagsFileName = "checkFileOpenFlags"
)

Variables

This section is empty.

Functions

func NewMemFS

func NewMemFS(
	uid uint32,
	gid uint32) fuse.Server

Create a file system that stores data and metadata in memory.

The supplied UID/GID pair will own the root inode. This file system does no permissions checking, and should therefore be mounted with the default_permissions option.

func NewMemFSWithCallbacks

func NewMemFSWithCallbacks(
	uid uint32,
	gid uint32,
	readFileCallback func(),
	writeFileCallback func()) fuse.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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