Documentation
¶
Overview ¶
Package fuse shows a vfs.MountSession as a directory on the host kernel, so host processes (run_command) see the session's virtual tree.
A file whose text a codec can read shows that text: size and Read use it. Kernel writes persist through WriteFile only for identity bodies (ContentRegistry.Identity); projected types (Word, Docs, Sheets) are read-only on the kernel (EROFS). Other files show their bytes through io.ReaderAt.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a live kernel mount of one MountSession.
func Mount ¶
func Mount(ms *vfs.MountSession, dir string) (*Server, error)
Mount shows ms at dir. It creates dir when it is missing and takes down a mount a crashed process left there.
Click to show internal directories.
Click to hide internal directories.