[−][src]Function devlog::rollover::rollover
pub fn rollover<W: Write>(
w: &mut W,
config: &Config,
p: &LogPath
) -> Result<(LogPath, usize), Error>
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.