Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bazil/fuse
/ functions
Functions
768 in github.com/bazil/fuse
⨍
Functions
768
◇
Types & classes
378
↓ 3 callers
Method
saw
(s string)
fs/serve_test.go:4092
↓ 3 callers
Function
testSetxattr
(t *testing.T, size int)
fs/serve_test.go:2776
↓ 3 callers
Function
unixTime
(t time.Time)
fuse.go:1563
↓ 2 callers
Function
AsyncRead
AsyncRead enables multiple outstanding read requests for the same handle. Without this, there is at most one request in flight at a time.
options.go:144
↓ 2 callers
Method
Attr
Attr fills attr with the standard metadata for the node. Fields with reasonable defaults are prepopulated. For example, all times are set to a fixed
fs/serve.go:103
↓ 2 callers
Method
Bytes
()
fs/fstestutil/record/buffer.go:24
↓ 2 callers
Function
DataHandle
DataHandle returns a read-only Handle that satisfies reads using the given data.
fs/serve.go:2029
↓ 2 callers
Function
DebugByDefault
DebugByDefault changes the default of the `-fuse.debug` flag to true. This package registers a command line flag `-fuse.debug` and when run with that
fs/fstestutil/debug.go:61
↓ 2 callers
Method
Error
()
fs/fstestutil/checkdir.go:17
↓ 2 callers
Method
Forget
Forget about this node. This node will not receive further method calls. Forget is not necessarily seen on unmount, as all nodes are implicitly forgo
fs/serve.go:211
↓ 2 callers
Method
InvalidateNodeDataRange
InvalidateNodeDataRange invalidates the kernel cache of the attributes and a range of the data of node. Returns fuse.ErrNotCached if the kernel is no
fs/serve.go:1789
↓ 2 callers
Function
LockingFlock
LockingFlock enables flock-based (BSD) locking. This is mostly useful for distributed filesystems with global locking. Without this, kernel manages lo
options.go:221
↓ 2 callers
Function
MountedFunc
MountedFunc mounts a filesystem at a temporary directory. The filesystem used is constructed by calling a function, to allow storing fuse.Conn and fs.
fs/fstestutil/mounted.go:69
↓ 2 callers
Method
Poll
Poll checks whether the node is currently ready for I/O, and may request a wakeup when it is. See HandlePoller.
fs/serve.go:352
↓ 2 callers
Method
ReadAll
(ctx context.Context)
fs/serve.go:287
↓ 2 callers
Method
ReadRequest
ReadRequest returns the next FUSE request from the kernel. Caller must call either Request.Respond or Request.RespondError in a reasonable time. Call
fuse.go:566
↓ 2 callers
Method
Readlink
Readlink reads a symbolic link.
fs/serve.go:137
↓ 2 callers
Method
RecordedFsync
()
fs/fstestutil/record/record.go:151
↓ 2 callers
Method
Release
(ctx context.Context, req *fuse.ReleaseRequest)
fs/serve.go:326
↓ 2 callers
Method
Rename
(ctx context.Context, req *fuse.RenameRequest, newDir Node)
fs/serve.go:215
↓ 2 callers
Method
Setattr
Setattr sets the standard metadata for the receiver. Note, this is also used to communicate changes in the size of the file, outside of Writes. req.
fs/serve.go:124
↓ 2 callers
Method
Signal
Signal send a signal to the helper process.
fs/fstestutil/spawntest/spawntest.go:244
↓ 2 callers
Method
Statfs
Statfs is called to obtain file system metadata. It should write that data to resp.
fs/serve.go:45
↓ 2 callers
Function
ToErrno
ToErrno converts arbitrary errors to Errno. If the underlying type of err is syscall.Errno, it is used directly. No unwrapping is done, to prevent wr
fuse.go:388
↓ 2 callers
Method
WaitForRelease
WaitForRelease waits for Release to be called. With zero duration, wait forever. Otherwise, timeout early in a more controlled way than `-test.timeou
fs/fstestutil/record/wait.go:46
↓ 2 callers
Function
WritebackCache
WritebackCache enables the kernel to buffer writes before sending them to the FUSE server. Without this, writethrough caching is used.
options.go:154
↓ 2 callers
Method
add
(name string, n Node)
fs/tree.go:74
↓ 2 callers
Method
attr
(ctx context.Context, attr *fuse.Attr)
fs/serve.go:557
↓ 2 callers
Function
attrOutSize
(p Protocol)
fuse_kernel.go:505
↓ 2 callers
Method
callQueryLock
(req *lockReq)
fs/serve_test.go:4650
↓ 2 callers
Method
dropNode
dropNode decreases reference count for node with id by n. If reference count dropped to zero, returns true. Note that node is not guaranteed to be non
fs/serve.go:623
↓ 2 callers
Function
errorString
safe to call even with nil error
fuse.go:1161
↓ 2 callers
Method
errstr
()
fs/serve.go:713
↓ 2 callers
Function
escapeComma
(s string)
options.go:21
↓ 2 callers
Method
fd
caller must hold wio or rio
fuse.go:547
↓ 2 callers
Method
getOptions
getOptions makes a string of options suitable for passing to FUSE mount flag `-o`. Returns an empty string if no options were set. Any platform specif
options.go:30
↓ 2 callers
Method
init
()
fs/fstestutil/record/wait.go:23
↓ 2 callers
Method
lookup
(name string)
fs/tree.go:65
↓ 2 callers
Function
makeLargeData
Test Write of a larger buffer.
fs/serve_test.go:750
↓ 2 callers
Function
mustEOF
(dec *json.Decoder)
fs/fstestutil/spawntest/httpjson/musteof.go:19
↓ 2 callers
Function
nodeAttr
(ctx context.Context, n Node, attr *fuse.Attr)
fs/serve.go:255
↓ 2 callers
Function
opName
(req fuse.Request)
fs/serve.go:825
↓ 2 callers
Function
parse
(line []byte)
cmd/fuse-abort/internal/mountinfo/mountinfo.go:77
↓ 2 callers
Function
platformStat
(fi os.FileInfo)
fs/serve_linux_test.go:24
↓ 2 callers
Function
platformStatfs
(st *syscall.Statfs_t)
fs/serve_linux_test.go:11
↓ 2 callers
Method
saveHandle
(handle Handle)
fs/serve.go:595
↓ 2 callers
Function
stack
()
debug.go:7
↓ 2 callers
Function
testFtruncate
(t *testing.T, toSize int64)
fs/serve_test.go:1730
↓ 2 callers
Function
testStatfs
(t *testing.T, helper *spawntest.Helper)
fs/serve_test.go:222
↓ 2 callers
Function
testTruncate
(t *testing.T, toSize int64)
fs/serve_test.go:1669
↓ 2 callers
Method
tick
()
examples/clockfs/clockfs.go:151
↓ 2 callers
Function
unescape
unescape backslash-prefixed octal
cmd/fuse-abort/internal/mountinfo/mountinfo.go:38
↓ 2 callers
Function
writeInSize
(p Protocol)
fuse_kernel.go:660
↓ 2 callers
Method
writeToKernel
(msg []byte)
fuse.go:1168
↓ 1 callers
Method
Access
Access checks whether the calling context has permission for the given operations on the receiver. If so, Access should return nil. If not, Access sho
fs/serve.go:162
↓ 1 callers
Function
AllowOther
AllowOther allows other users to access the file system.
options.go:79
↓ 1 callers
Method
Append
Append adds an extended attribute name to the response.
fuse.go:1723
↓ 1 callers
Function
AppendDirent
AppendDirent appends the encoded form of a directory entry to data and returns the resulting slice.
fuse.go:2157
↓ 1 callers
Method
Atime
()
fuse_kernel.go:149
↓ 1 callers
Method
AtimeNow
()
fuse_kernel.go:152
↓ 1 callers
Function
CacheSymlinks
CacheSymlinks enables the kernel to cache symlink contents.
options.go:162
↓ 1 callers
Function
CongestionThreshold
CongestionThreshold sets the number of outstanding background FUSE requests beyond which the kernel considers the filesystem congested. This may help
options.go:209
↓ 1 callers
Function
DefaultPermissions
DefaultPermissions makes the kernel enforce access control based on the file mode (as in chmod). Without this option, the Node itself decides what is
options.go:112
↓ 1 callers
Method
Destroy
Destroy is called when the file system is shutting down. Linux only sends this request for block device backed (fuseblk) filesystems, to allow them t
fs/serve.go:54
↓ 1 callers
Method
Errno
()
fuse.go:352
↓ 1 callers
Method
Error
()
fs/serve.go:857
↓ 1 callers
Method
Error
()
fs/serve.go:879
↓ 1 callers
Function
ExplicitInvalidateData
ExplicitInvalidateData stops the kernel from invalidating cached file data automatically. Use e.g. `InvalidateNodeData` to invalidate cached data as n
options.go:171
↓ 1 callers
Method
FAllocate
FAllocate manipulates space reserved for the file. Note that the kernel limits what modes are acceptable in any FUSE filesystem.
fs/serve.go:413
↓ 1 callers
Method
Features
Features reports the feature flags negotiated between the kernel and the FUSE library. See MountOption for how to influence features activated.
fuse.go:558
↓ 1 callers
Method
Finish
(r *NotifyReply)
fuse.go:1328
↓ 1 callers
Method
Flush
Flush is called each time the file or directory is closed. Because there can be multiple file descriptors referring to a single opened file, Flush can
fs/serve.go:283
↓ 1 callers
Method
Fsync
(ctx context.Context, req *fuse.FsyncRequest)
fs/serve.go:224
↓ 1 callers
Method
Getattr
Getattr obtains the standard metadata for the receiver. It should store that metadata in resp. If this method is not implemented, the attributes will
fs/serve.go:112
↓ 1 callers
Method
Gid
()
fuse_kernel.go:147
↓ 1 callers
Method
Handle
()
fuse_kernel.go:151
↓ 1 callers
Method
InvalidateEntry
InvalidateEntry invalidates the kernel cache of the directory entry identified by parent node and entry basename. Kernel may or may not cache directo
fs/serve.go:1811
↓ 1 callers
Method
InvalidateNode
InvalidateNode invalidates the kernel cache of the attributes and a range of the data of a node. Giving offset 0 and size -1 means all data. To inval
fuse.go:1233
↓ 1 callers
Method
InvalidateNodeAttr
InvalidateNodeAttr invalidates the kernel cache of the attributes of node. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1771
↓ 1 callers
Function
JSON
JSON helps make a HTTP request to the resource tree at url with JSON request and response bodies. If client is nil http.DefaultClient will be used.
fs/fstestutil/spawntest/httpjson/client.go:16
↓ 1 callers
Method
LockOwner
()
fuse_kernel.go:154
↓ 1 callers
Method
LockWait
LockWait acquires a lock on a byte range of the node, waiting until the lock can be obtained (or context is canceled).
fs/serve.go:370
↓ 1 callers
Function
MaxBackground
MaxBackground sets the maximum number of FUSE requests the kernel will submit in the background. Background requests are used when an immediate answer
options.go:196
↓ 1 callers
Function
MaxReadahead
MaxReadahead sets the number of bytes that can be prefetched for sequential reads. The kernel can enforce a maximum value lower than this. This setti
options.go:134
↓ 1 callers
Function
Mounted
Mounted mounts the fuse.Server at a temporary directory. After successful return, caller must clean up by calling Close.
fs/fstestutil/mounted.go:103
↓ 1 callers
Method
Mtime
()
fuse_kernel.go:150
↓ 1 callers
Method
MtimeNow
()
fuse_kernel.go:153
↓ 1 callers
Method
NotifyDelete
NotifyDelete informs the kernel that a directory entry has been deleted. Using this instead of [InvalidateEntry] races on networked systems where the
fs/serve.go:1863
↓ 1 callers
Method
NotifyPollWakeup
(wakeup fuse.PollWakeup)
fs/serve.go:2014
↓ 1 callers
Method
NotifyRetrieve
NotifyRetrieve gets data from the kernel page cache. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1956
↓ 1 callers
Method
NotifyStore
NotifyStore puts data into the kernel page cache. Returns fuse.ErrNotCached if the kernel is not currently caching the node.
fs/serve.go:1922
↓ 1 callers
Method
QueryLock
QueryLock returns the current state of locks held for the byte range of the node. See QueryLockRequest for details on how to respond. To simplify im
fs/serve.go:385
↓ 1 callers
Method
ReadDirAll
(ctx context.Context)
fs/serve.go:291
↓ 1 callers
Function
ReadOnly
ReadOnly makes the mount read-only.
options.go:120
↓ 1 callers
Method
RecordedCreate
RecordedCreate returns information about the Create request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:404
↓ 1 callers
Method
RecordedFlush
()
fs/fstestutil/record/record.go:71
↓ 1 callers
Method
RecordedGetxattr
RecordedGetxattr returns information about the Getxattr request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:301
↓ 1 callers
Method
RecordedLink
RecordedLink returns information about the Link request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:226
↓ 1 callers
Method
RecordedListxattr
RecordedListxattr returns information about the Listxattr request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:326
↓ 1 callers
Method
RecordedMkdir
RecordedMkdir returns information about the Mkdir request. If no request was seen, returns a zero value.
fs/fstestutil/record/record.go:176
← previous
next →
101–200 of 768, ranked by callers