MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / host_wasi_root

Function host_wasi_root

src/pglite/postgres_mod.rs:1668–1671  ·  view source on GitHub ↗
(runtime_root: &Path)

Source from the content-addressed store, hash-verified

1666}
1667
1668fn host_wasi_root(runtime_root: &Path) -> Result<WasiFsRoot> {
1669 let root = maybe_trace_filesystem(host_filesystem(runtime_root)?);
1670 Ok(WasiFsRoot::from_filesystem(wasi_root_with_devices(root)?))
1671}
1672
1673fn mountfs_overlay_wasi_root(
1674 paths: &PglitePaths,

Callers 1

instantiate_wasix_moduleFunction · 0.85

Calls 3

maybe_trace_filesystemFunction · 0.85
host_filesystemFunction · 0.85
wasi_root_with_devicesFunction · 0.85

Tested by

no test coverage detected