fuse

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

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.

func (*Server) Close

func (s *Server) Close() error

Close unmounts the tree and removes its directory.

func (*Server) Dir

func (s *Server) Dir() string

Dir is the host directory the tree is mounted at. Harness tool results, errors and checkpoints must never show it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL