mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
stat method for file transfers
This commit is contained in:
@@ -141,6 +141,11 @@ pub trait FileTransfer {
|
||||
/// Rename file or a directory
|
||||
fn rename(&self, file: &FsEntry, dst: &Path) -> Result<(), FileTransferError>;
|
||||
|
||||
/// ### stat
|
||||
///
|
||||
/// Stat file and return FsEntry
|
||||
fn stat(&self, path: &Path) -> Result<FsEntry, FileTransferError>;
|
||||
|
||||
/// ### send_file
|
||||
///
|
||||
/// Send file to remote
|
||||
|
||||
Reference in New Issue
Block a user