pub struct RealDiskFileStore { /* private fields */ }Expand description
A SessionFileSystem rooted at a real host directory.
Paths are interpreted per the session filesystem namespace rules (leading /,
optional /workspace prefix, .. rejected anywhere). session_id is
accepted on every method but ignored — the store is single-workspace per
process. See knowledge/runtime-resources/file-store.md for the multi-tenant upgrade path.
is_readonly flags from seed_initial_file are tracked in an in-memory
set (the disk backend has no place to persist them), so writes and
deletes through this store still honor the trait contract within a
single process. The flag is not mapped onto filesystem permissions —
other host processes can still modify the file directly.
Implementations§
Trait Implementations§
Source§impl Clone for RealDiskFileStore
impl Clone for RealDiskFileStore
Source§fn clone(&self) -> RealDiskFileStore
fn clone(&self) -> RealDiskFileStore
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RealDiskFileStore
impl Debug for RealDiskFileStore
Source§impl SessionFileSystem for RealDiskFileStore
impl SessionFileSystem for RealDiskFileStore
Source§fn display_root(&self) -> String
fn display_root(&self) -> String
A real-disk store shows where files actually live: the host-absolute root. Filesystem decorators preserve this identity.