atomic_store::atomic_store

Function archive_files

Source
fn archive_files<'a>(
    root_path: &'a Path,
    file_pattern: &'a str,
) -> Result<impl 'a + Iterator<Item = Result<(PathBuf, u32)>>>
Expand description

Iterate over archive files in the directory root_path.

Yields (in an unspecified order) file paths for each archive file in root_path, along with the file counter associated with each archive file.