MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / read_hook_marker_secs

Function read_hook_marker_secs

src/daemon.rs:454–460  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

452
453#[cfg(not(unix))]
454fn read_hook_marker_secs(path: &Path) -> Option<i64> {
455 std::fs::read_to_string(path)
456 .ok()?
457 .trim()
458 .parse::<i64>()
459 .ok()
460}
461
462fn format_daemon_log_line(event: &str, fields: &[(&str, String)]) -> String {
463 let mut line = format!("[tracedecay] event={}", quote_log_value(event));

Calls

no outgoing calls

Tested by

no test coverage detected