Skip to main content

history

Function history 

Source
pub fn history(
    engine: &Engine,
    paths: &WorkspacePaths,
    user: HostUser,
    file: Option<&str>,
) -> Result<Vec<Entry>, BackupError>
Expand description

The snapshots of the workspace, newest first; those that changed file when one is named. A workspace that has never been backed up has none, and no container is started to say so.

§Errors

A file that is not a path inside the workspace, and the engine’s or git’s own words when the listing fails.