pub type SkipFn<'a> = &'a dyn Fn(&str, bool) -> bool;
Decides whether to leave out a path (relative, slash-separated) and, for a directory, everything under it. The second argument is whether it is a directory.