[−][src]Function nflz::can_rename_all
pub fn can_rename_all(
dir: &Path,
rn_map: &BTreeMap<ParsedFilename, String>,
pf_list: &Vec<ParsedFilename>
) -> Result<(), NFLZError>
Verifies that all files can be renamed without conflict.
dir
Directory where all replacements happen. Needed to make some checks before the actual renaming starts.rn_map
Map with the mappings from old to new names.pf_list
List with parsed filenames. Needed to make some checks before the actual renaming starts.