read_backup_dir

Function read_backup_dir 

Source
fn read_backup_dir(backup_dir_path: &PathBuf) -> impl Iterator<Item = DirEntry>
Expand description

Accepts a backup directory path and opens the directory.

Returns an iterator over all DirEntrys in the directory that are successfully read.

ยงPanics

If the provided path cannot be opened as a directory.