3 use std::path::PathBuf;
5 use crate::file_handler::{File, FileType, FileHandlerStrategy};
7 impl FileHandlerStrategy for Strategy {
8 fn is(&self, path: &PathBuf) -> bool {
12 fn identify(&self) -> FileType {
16 fn can_handle(&self, file_type: &FileType) -> bool {
18 FileType::File => true,
23 fn handle(&self, file: &File) {
24 println!("Should copy {}", file.path.display())