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