pub fn remove_dir_all_where<P>(
    store: impl Store,
    location: Location,
    path: &Path,
    predicate: P
) -> Result<usize, Error> where
    P: Fn(&DirEntry) -> bool