mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
Removed unecessary Option<&ConfigClient> in filetransfer; use degraded mode instead
This commit is contained in:
@@ -67,6 +67,7 @@ impl SshKeyStorage {
|
||||
/// ### empty
|
||||
///
|
||||
/// Create an empty ssh key storage; used in case `ConfigClient` is not available
|
||||
#[cfg(test)]
|
||||
pub fn empty() -> Self {
|
||||
SshKeyStorage {
|
||||
hosts: HashMap::new(),
|
||||
|
||||
Reference in New Issue
Block a user