Function phron_finality::party::backup::remove
source · pub fn remove(path: Option<PathBuf>, session_id: u32)
Expand description
Removes the backup directory for a session.
backup_path
is the path to the backup directory (i.e. the argument to --backup-saving-path
).
If it is None
, nothing is done.
Any filesystem errors are logged and dropped.
This should be done after the end of the session.