mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Filetransfer trait
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user