Skip to main content

read_status_cache

Function read_status_cache 

Source
pub fn read_status_cache() -> Option<StatusCacheEntry>
Expand description

Read the status cache entry for this terminal.

Returns None if:

  • No status key can be determined
  • Cache file doesn’t exist
  • Cache entry is stale (older than 2 hours)
  • Cache file is corrupted