Skip to main content

finish_in

Function finish_in 

Source
pub fn finish_in(
    dir: &Path,
    now: i64,
    done: bool,
) -> Result<Option<Session>, String>
Expand description

Ends the running session: recorded, then forgotten. A session left running for hours (the window closed, a night passed) counts only the time chosen; an open-ended one (planned 0), three hours at most.