Trait RootDirFilter

Source
pub trait RootDirFilter: Fn(&Path) -> bool { }
Expand description

A filter that determines whether an entry should be ignored when searching for the root directory of a Zip archive.

Returns true if the entry should be considered, and false if it should be ignored.

See root_dir_common_filter for a sensible default filter.

Implementors§

Source§

impl<F: Fn(&Path) -> bool> RootDirFilter for F