Filetransfer trait

This commit is contained in:
ChristianVisintin
2020-11-08 11:02:43 +01:00
parent 045a72f2de
commit 606a3f96f5
4 changed files with 137 additions and 0 deletions

View File

@@ -26,6 +26,15 @@
use std::path::PathBuf;
use std::time::Instant;
/// ## FsEntry
///
/// FsEntry represents a generic entry in a directory
pub enum FsEntry {
Directory(FsDirectory),
File(FsFile)
}
/// ## FsDirectory
///
/// Directory provides an interface to file system directories