Skip to main content

read_pause_state

Function read_pause_state 

Source
pub fn read_pause_state() -> Option<PauseState>
Expand description

Read the current pause state from disk. Returns None when the file is missing, empty, or the timestamp has already elapsed (treated as “no longer paused”; callers may delete the stale file).