Discover Packages
github.com/jacobsa/fuse
samples
memfs
package
Version:
v0.0.0-...-edf18a6
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
FileOpenFlagsXattrName = "fileOpenFlagsXattr"
CheckFileOpenFlagsFileName = "checkFileOpenFlags"
)
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(
uid uint32 ,
gid uint32 ,
readFileCallback func(),
writeFileCallback func()) fuse .Server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.