sim-table-mount
sim-table-mount provides MountedDir, a reusable Table/Dir namespace that
routes one directory tree across explicit mounted Table and Dir backends.
The root is an ordinary Dir. Each mount point is an absolute
sim-table-core path. Directory mounts route reads and mutations by longest
valid prefix; table mounts are leaves. The mounted namespace delegates to the
owning backend, so capability checks, read-only behavior, backend errors, and
live state changes remain visible instead of being copied into a flattened
store.
use Arc;
use ;
use TablePath;
use ;
let mut cx = new;
cx.grant;
let root = cx.factory.table.unwrap;
let table = cx.factory.table.unwrap;
let namespace = new.unwrap;
namespace
.mount_table
.unwrap;
let mounted = namespace.get.unwrap;
assert!;