pub fn restore_assets(
engine: &Engine,
paths: &WorkspacePaths,
user: HostUser,
id: &SnapshotId,
) -> Result<Restored, BackupError>Expand description
Brings every file of the snapshot id back into Assets/, after a snapshot of how it is
now. Nothing is deleted, as in restore; a folder that is gone is made again to hold them.
§Errors
As snapshot_assets, Assets/ that cannot be made, and the engine’s or git’s own words
when the restore fails.