catalog: add missing function documentation.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2020-02-27 17:12:57 +01:00 committed by Dietmar Maurer
parent c2f9149461
commit 4145c36749

View File

@ -106,6 +106,7 @@ impl DirEntry {
}
}
/// Check if DirEntry is a directory
pub fn is_directory(&self) -> bool {
match self.attr {
DirEntryAttribute::Directory { .. } => true,