[][src]Function ub::serialize::walk_dir

pub fn walk_dir<P: AsRef<Path>, F: Fn(&Path) -> bool>(
    path: P,
    filter: &F
) -> Result<Vec<PathBuf>>

Will crudely walk a dir at path.

This does not extract the metadata; it's only cheap on Windows platforms. I do not plan to change that, as this function works well with the rest of this crate.

Errors

Will return any errors from io functions. This function tries to read metadata from files and view content in directories.