pub trait IsFolderToRemove {
// Required method
fn is_folder_to_remove(&self, folder: &Folder) -> bool;
}Expand description
Trait to check if a folder should be removed
This is the successor of the deprecated PathToRemoveResolver and should be used instead.
The trait is implemented for FileToFolderMatch and can be used to check if a folder should be removed
according to the rules defined in the FileToFolderMatch instance.