mirror of
https://github.com/veeso/termscp.git
synced 2026-07-27 10:01:04 +02:00
Merge pull request #61 from veeso/issue-59-when-copying-files-with-tricky-copy-the-upper-progress-bar-shows-no-text
Fix: When copying files with tricky copy, the upper progress bar shows no text
This commit is contained in:
@@ -29,6 +29,7 @@ Released on ??
|
|||||||
- Added new `Directory already exists` variant for file transfer errors
|
- Added new `Directory already exists` variant for file transfer errors
|
||||||
- Bugfix:
|
- Bugfix:
|
||||||
- Fixed [Issue 58](https://github.com/veeso/termscp/issues/58):When uploading a directory, create directory only if it doesn't exist
|
- Fixed [Issue 58](https://github.com/veeso/termscp/issues/58):When uploading a directory, create directory only if it doesn't exist
|
||||||
|
- Fixed [Issue 59](https://github.com/veeso/termscp/issues/59): When copying files with tricky copy, the upper progress bar shows no text
|
||||||
- Dependencies:
|
- Dependencies:
|
||||||
- Updated `bitflags` to `1.3.2`
|
- Updated `bitflags` to `1.3.2`
|
||||||
- Updated `bytesize` to `1.1.0`
|
- Updated `bytesize` to `1.1.0`
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ impl FileTransferActivity {
|
|||||||
///
|
///
|
||||||
/// Tricky copy will be used whenever copy command is not available on remote host
|
/// Tricky copy will be used whenever copy command is not available on remote host
|
||||||
fn tricky_copy(&mut self, entry: FsEntry, dest: &Path) {
|
fn tricky_copy(&mut self, entry: FsEntry, dest: &Path) {
|
||||||
|
// NOTE: VERY IMPORTANT; wait block must be umounted or something really bad will happen
|
||||||
|
self.umount_wait();
|
||||||
// match entry
|
// match entry
|
||||||
match entry {
|
match entry {
|
||||||
FsEntry::File(entry) => {
|
FsEntry::File(entry) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user