MCPcopy Create free account
hub / github.com/clawshell/clawshell / physical_root

Function physical_root

src/process.rs:15–17  ·  view source on GitHub ↗

Create a VFS root backed by the real filesystem.

()

Source from the content-addressed store, hash-verified

13
14/// Create a VFS root backed by the real filesystem.
15pub(crate) fn physical_root() -> VfsPath {
16 VfsPath::new(vfs::PhysicalFS::new("/"))
17}
18
19/// Log file path within a VFS root.
20fn log_file_vfs(root: &VfsPath) -> Result<VfsPath, Box<dyn std::error::Error>> {

Calls

no outgoing calls

Tested by

no test coverage detected