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

Function log_file_vfs

src/process.rs:20–22  ·  view source on GitHub ↗

Log file path within a VFS root.

(root: &VfsPath)

Source from the content-addressed store, hash-verified

18
19/// Log file path within a VFS root.
20fn log_file_vfs(root: &VfsPath) -> Result<VfsPath, Box<dyn std::error::Error>> {
21 Ok(root.join("var/log/clawshell/clawshell.log")?)
22}
23
24/// Log file location.
25/// - Linux: /var/log/clawshell/clawshell.log

Callers 2

ensure_runtime_dirs_vfsFunction · 0.85
test_ensure_runtime_dirsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_ensure_runtime_dirsFunction · 0.68