Skip to main content

write_bridge_pointer

Function write_bridge_pointer 

Source
pub async fn write_bridge_pointer(
    dir: &str,
    pointer: &BridgePointer,
) -> Result<(), String>
Expand description

Write the pointer. Also used to refresh mtime during long sessions — calling with the same IDs is a cheap no-content-change write that bumps the staleness clock. Best-effort — a crash-recovery file must never itself cause a crash. Logs and swallows on error.