Expand description
Runtime policy and filesystem provider abstraction.
RuntimePolicy captures resource limits and scoped access rules.
FileSystemProvider is the trait through which all stdlib filesystem
operations are dispatched, allowing the host to swap in a virtual FS,
a policy-enforced wrapper, or a routing layer without changing callers.
Structs§
- File
Metadata - Metadata about a filesystem entry.
- Path
Entry - A single entry returned by
list_dir. - Policy
Enforced Fs - A filesystem provider that wraps another and enforces a
RuntimePolicy. - Real
File System - Default filesystem provider that delegates to
std::fs. - Routing
File System - Routes filesystem operations to different providers based on path prefix.
- Runtime
Policy - Runtime-scoped policy governing what a Shape program may access.
Traits§
- File
System Provider - Trait for all filesystem operations used by the Shape stdlib.