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

Function log_file_path

src/process.rs:27–29  ·  view source on GitHub ↗

Log file location. - Linux: /var/log/clawshell/clawshell.log - macOS: /var/log/clawshell/clawshell.log

()

Source from the content-addressed store, hash-verified

25/// - Linux: /var/log/clawshell/clawshell.log
26/// - macOS: /var/log/clawshell/clawshell.log
27pub fn log_file_path() -> PathBuf {
28 PathBuf::from("/var/log/clawshell/clawshell.log")
29}
30
31/// Ensure the parent directories for log files exist (VFS variant).
32pub(crate) fn ensure_runtime_dirs_vfs(root: &VfsPath) -> Result<(), Box<dyn std::error::Error>> {

Callers 8

test_log_file_pathFunction · 0.70
cmd_startFunction · 0.70
cmd_stopFunction · 0.70
cmd_restartFunction · 0.70
cmd_logsFunction · 0.70
cmd_onboardFunction · 0.70
cmd_uninstallFunction · 0.70
start_clawshell_directFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_log_file_pathFunction · 0.56