Function devlog::rollover::rollover[][src]

pub fn rollover<W: Write>(
    w: &mut W,
    config: &Config,
    p: &LogPath
) -> Result<(LogPath, usize), Error>
Expand description

Copies incomplete tasks from the latest devlog entry file to a new devlog entry file with the next sequence number. If available, the before-rollover and after-rollover hooks are invoked.