Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS interface { fuseutil.FileSystem // Set the canned response to be used for future statfs ops. SetStatFSResponse(r fuseops.StatFSOp) // Return the size of the most recent write delivered by the kernel, or -1 if // none. MostRecentWriteSize() int }
A file system that allows orchestrating canned responses to statfs ops, for testng out OS-specific statfs behavior.
The file system allows opening and writing to any name that is a child of the root inode, and keeps track of the most recent write size delivered by the kernel (in order to test statfs response block size effects on write size, if any).
Safe for concurrent access.
Click to show internal directories.
Click to hide internal directories.