Skip to main content

Module env

Module env 

Source
Expand description

The SessionEnv trait — the filesystem + process abstraction.

This is the central abstraction that sandbox backends implement. Flue’s built-in tools (read, write, bash, …) operate purely against a SessionEnv, so the same tools work unchanged over a virtual, local, or remote-container sandbox.

Structs§

Limits
Flue’s resource caps, applied uniformly across sandbox backends.
ShellResult
The outcome of running a shell command.

Traits§

SessionEnv
The environment a session runs in.

Functions§

read_all
Read an entire file ignoring the caps (used by internal helpers).