Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/hanwen/go-fuse
/ types & classes
Types & classes
355 in github.com/hanwen/go-fuse
⨍
Functions
1,911
◇
Types & classes
355
↓ 34 callers
TypeAlias
Status
Status is the errno number that a FUSE call returns to the kernel.
fuse/types.go:18
↓ 6 callers
TypeAlias
Command
The ioctl command. It encodes direction (read/write), argument size and a type/number, where type should be globally unique and number is unique to th
internal/ioctl/ioctl.go:14
Struct
AccessIn
fuse/types.go:481
Struct
Attr
fuse/types_unix.go:5
Struct
Attr
fuse/types_darwin.go:19
Struct
AttrOut
AttrOut is the type returned by the Getattr call.
fuse/types.go:632
Struct
BackingMap
Data for registering a file as backing an inode.
fuse/types.go:807
Struct
CDirent
fuse/test/xfs_test.go:29
Struct
Caller
Caller has data on the process making the FS call. The UID and GID are effective UID/GID, except for the ACCESS opcode, where UID and GID are the rea
fuse/types.go:658
Struct
Context
Context passes along cancelation signal and request data (PID, GID, UID). The name of this class predates the standard "context" package from Go, but
fuse/context.go:19
Struct
CopyFileRangeIn
fuse/types.go:581
Struct
CopyFileRangeOut
fuse/types.go:879
Struct
CreateIn
fuse/types.go:772
Struct
CreateOut
fuse/types.go:649
Struct
DataNode
DataNode is a nodefs.Node that Reads static data. Since Read works without Open, the kernel does not invalidate DataNode cache on user's open.
fuse/test/cachecontrol_test.go:26
Struct
DefaultReadFS
fuse/test/defaultread_test.go:17
Struct
DescStateSplit
internal/vhostuser/server.go:157
Struct
Device
internal/vhostuser/device.go:14
Struct
DirEntry
DirEntry is a type for PathFileSystem and NodeFileSystem to return directory contents in.
fuse/direntry.go:17
Struct
DirEntryList
DirEntryList holds the return value for READDIR and READDIRPLUS opcodes.
fuse/direntry.go:64
Interface
DirStream
DirStream lists directory entries.
fs/api.go:479
Struct
EntryOut
EntryOut holds the result of a (directory,name) lookup. It has two TTLs, one for the (directory, name) lookup itself, and one for the attributes (eg.
fuse/types.go:596
Struct
ExchangeIn
fuse/types_darwin.go:102
Struct
FSetAttrFs
This FS only supports a single r/w file called "/file".
fuse/test/fsetattr_test.go:102
Struct
FallocateIn
fuse/types.go:704
Interface
File
A File object is returned from FileSystem.Open and FileSystem.Create. Include the NewDefaultFile return value into the struct to inherit a null imple
fuse/nodefs/api.go:134
Interface
FileAllocater
See NodeAllocater.
fs/api.go:713
Interface
FileFlusher
See NodeFlusher.
fs/api.go:698
Interface
FileFsyncdirer
FileFsyncer is a directory that supports fsyncdir.
fs/api.go:746
Interface
FileFsyncer
See NodeFsync.
fs/api.go:703
Interface
FileGetattrer
See NodeGetattrer.
fs/api.go:659
Interface
FileGetlker
See NodeGetlker.
fs/api.go:678
Interface
FileHandle
FileHandle is a resource identifier for opened files. Usually, a FileHandle should implement some of the FileXxxx interfaces. All of the FileXxxx ope
fs/api.go:639
Interface
FileIoctler
See NodeIoctler.
fs/api.go:718
Struct
FileLock
fuse/types.go:453
Interface
FileLookuper
FileLookuper is a directory handle that supports lookup. If this is defined, FileLookuper.Lookup on the directory is called for READDIRPLUS calls, rat
fs/api.go:741
Interface
FileLseeker
See NodeLseeker.
fs/api.go:693
Interface
FilePassthroughFder
FilePassthroughFder is a file backed by a physical file. PassthroughFd should return an open file descriptor (and true), and the kernel will execute r
fs/api.go:649
Interface
FileReaddirenter
FileReaddirenter is a directory that supports reading.
fs/api.go:729
Interface
FileReader
See NodeReader.
fs/api.go:668
Interface
FileReleasedirer
FileReleasedirer is a directory that supports a cleanup operation.
fs/api.go:759
Interface
FileReleaser
See NodeReleaser.
fs/api.go:654
Interface
FileSeekdirer
FileSeekdirer is directory that supports seeking. `off` is an opaque uint64 value, where only the value 0 is reserved for the start of the stream. (Se
fs/api.go:754
Interface
FileSetattrer
See NodeFsync.
fs/api.go:708
Interface
FileSetlker
See NodeSetlker.
fs/api.go:683
Interface
FileSetlkwer
See NodeSetlkwer.
fs/api.go:688
Interface
FileStatxer
fs/api.go:663
Interface
FileSystem
A filesystem API that uses paths rather than inodes. A minimal file system should have at least a functional GetAttr method. Typically, each call hap
fuse/pathfs/api.go:25
Struct
FileSystemConnector
FileSystemConnector translates the raw FUSE protocol (serialized structs of uint32/uint64) to operations on Go objects representing files and director
fuse/nodefs/fsconnector.go:28
Interface
FileWriter
See NodeWriter.
fs/api.go:673
Struct
FlushIn
fuse/types.go:561
Struct
ForgetIn
fuse/types.go:75
Struct
FsyncIn
fuse/types.go:487
Struct
GetAttrIn
fuse/types.go:742
Struct
GetFeaturesReply
internal/vhostuser/types.go:241
Struct
GetProtocolFeaturesReply
internal/vhostuser/types.go:287
Struct
GetXAttrIn
fuse/types_unix.go:37
Struct
GetXAttrIn
fuse/types_darwin.go:73
Struct
GetXAttrOut
fuse/types.go:448
Struct
GetxtimesOut
fuse/types_darwin.go:95
Struct
Header
internal/vhostuser/types.go:469
Struct
HelloRoot
example/hello/main.go:19
Struct
InHeader
fuse/types.go:663
Struct
InflightDesc
internal/vhostuser/server.go:164
Struct
InitIn
fuse/types.go:317
Struct
InitOut
fuse/types.go:332
Struct
Inode
An Inode reflects the kernel's idea of the inode. Inodes have IDs that are communicated to the kernel, and they have a tree structure: a directory In
fuse/nodefs/inode.go:25
Struct
Inode
Inode is a node in VFS tree. Inodes are one-to-one mapped to Operations instances, which is the extension interface for file systems. One can create
fs/inode.go:55
Interface
InodeEmbedder
InodeEmbedder is an interface for structs that embed Inode. InodeEmbedder objects usually should implement some of the NodeXxxx interfaces, to provid
fs/api.go:271
Struct
InterruptIn
fuse/types.go:374
Struct
IoctlIn
fuse/types.go:397
Struct
IoctlOut
fuse/types.go:416
Interface
LatencyMap
This type may be provided for recording latencies of each FUSE operation.
fuse/server.go:101
Struct
LatencyMap
benchmark/latencymap.go:17
Struct
LinkIn
fuse/types.go:115
Struct
LkIn
fuse/types.go:460
Struct
LkOut
fuse/types.go:469
Struct
LoopbackFile
LoopbackFile is a FileHandle that implements all the FileXxxx interfaces by forwarding all calls to the underlying file descriptor. Create an instance
fs/files.go:32
Struct
LoopbackNode
LoopbackNode is a filesystem node in a loopback file system. It is public so it can be used as a basis for other loopback based filesystems. See NewLo
fs/loopback.go:75
Struct
LoopbackRoot
LoopbackRoot holds the parameters for creating a new loopback filesystem. Loopback filesystem delegate their operations to an underlying POSIX file sy
fs/loopback.go:22
Struct
LseekIn
fuse/types.go:569
Struct
LseekOut
fuse/types.go:577
Struct
MemRegularFile
MemRegularFile is a filesystem node that holds a data slice in memory.
fs/mem.go:17
Struct
MemSymlink
MemSymlink is an inode holding a symlink in memory.
fs/mem.go:104
Struct
MkdirIn
fuse/types.go:94
Struct
MknodIn
fuse/types.go:762
Struct
MountOptions
fuse/api.go:157
Struct
MultiZipFs
MultiZipFs is a filesystem that mounts zipfiles.
zipfs/multizip.go:27
Struct
MutableDataFile
fuse/test/fsetattr_test.go:19
Struct
NoFileNode
exercise functionality when open returns 0 file handle. NoFileNode is DataNode for which open returns File=nil. In other words all operations on a fi
fuse/test/nofile_test.go:23
Interface
Node
The Node interface implements the user-defined file system functionality
fuse/nodefs/api.go:23
Interface
NodeAccesser
Access should return if the caller can access the file with the given mode. This is used for two purposes: to determine if a user may enter a directo
fs/api.go:303
Interface
NodeAllocater
Allocate preallocates space for future writes, so they will never encounter ESPACE.
fs/api.go:415
Interface
NodeCopyFileRanger
CopyFileRange copies data between sections of two files, without the data having to pass through the calling process.
fs/api.go:421
Interface
NodeCreater
Create is similar to Lookup, but should create a new child. It typically also returns a FileHandle as a reference for future reads/writes. Default is
fs/api.go:597
Interface
NodeFlusher
Flush is called for the close(2) call on a file descriptor. In case of a descriptor that was duplicated using dup(2), it may be called more than once
fs/api.go:398
Interface
NodeFsyncer
Fsync is a signal to ensure writes to the Inode are flushed to stable storage.
fs/api.go:389
Interface
NodeGetattrer
GetAttr reads attributes for an Inode. The library will ensure that Mode and Ino are set correctly. For files that are not opened with FOPEN_DIRECTIO,
fs/api.go:317
Interface
NodeGetlker
Getlk returns locks that would conflict with the given input lock. If no locks conflict, the output has type L_UNLCK. See fcntl(2) for more informatio
fs/api.go:444
Interface
NodeGetxattrer
Getxattr should read data for the given attribute into `dest` and return the number of bytes. If `dest` is too small, it should return ERANGE and the
fs/api.go:335
next →
1–100 of 355, ranked by callers