Trait virtual_filesystem::tar_fs::FileSystemFilter

source ·
pub trait FileSystemFilter {
    // Required method
    fn should_include(&self, path: &Path) -> bool;
}
Expand description

Filters over filesystems.

Required Methods§

source

fn should_include(&self, path: &Path) -> bool

Returns true if the path should be included in the filesystem.

§Arguments

path: THe path to the file.

Implementors§

source§

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