Skip to main content

write_status_cache

Function write_status_cache 

Source
pub fn write_status_cache(entry: &StatusCacheEntry) -> bool
Expand description

Write a status cache entry for this terminal.

Uses the same atomic write pattern as the MCP server: write to temp file → rename to final path. This prevents partial reads from concurrent CLI/MCP access.

Returns true if the cache was written successfully.