mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 14:31:18 -07:00
save local file paths in bookmark (#204)
* fix: renamed Bookmark 'directory' to 'remote_path' (keep name in file) * feat: local_path as file transfer parameter and in bookmark
This commit is contained in:
@@ -150,7 +150,13 @@ impl AuthActivity {
|
||||
self.mount_protocol(bookmark.protocol);
|
||||
self.mount_remote_directory(
|
||||
bookmark
|
||||
.entry_directory
|
||||
.remote_path
|
||||
.map(|x| x.to_string_lossy().to_string())
|
||||
.unwrap_or_default(),
|
||||
);
|
||||
self.mount_local_directory(
|
||||
bookmark
|
||||
.local_path
|
||||
.map(|x| x.to_string_lossy().to_string())
|
||||
.unwrap_or_default(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user