[][src]Function test_common::fs::ops::delete_files

pub fn delete_files(files: Vec<&str>, ignore_missing: bool) -> Result<(), Error>

Delete all files set in given list.

Parameters:

  • files: Vector with filepath list to remove.
  • ignore_missing: If true does not return an error if any of files actually does not exists.

Returns:

Returns an io::Error if any file does not exists unless ignore_missing was true.