diff --git a/src/backup/catalog.rs b/src/backup/catalog.rs index 8f6b6128..cf294448 100644 --- a/src/backup/catalog.rs +++ b/src/backup/catalog.rs @@ -106,6 +106,7 @@ impl DirEntry { } } + /// Check if DirEntry is a directory pub fn is_directory(&self) -> bool { match self.attr { DirEntryAttribute::Directory { .. } => true,