mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
32f65362e3
commit
b85dfe22b2
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,6 @@ impl<'a> Provider for Sftp<'a> {
|
||||||
P: AsPath,
|
P: AsPath,
|
||||||
A: Into<yazi_fs::provider::Attrs>,
|
A: Into<yazi_fs::provider::Attrs>,
|
||||||
{
|
{
|
||||||
let from = self.url.to_owned();
|
|
||||||
let to = UrlBuf::Sftp {
|
let to = UrlBuf::Sftp {
|
||||||
loc: LocBuf::<typed_path::UnixPathBuf>::saturated(
|
loc: LocBuf::<typed_path::UnixPathBuf>::saturated(
|
||||||
to.as_path().to_unix_owned()?,
|
to.as_path().to_unix_owned()?,
|
||||||
|
|
@ -101,6 +100,7 @@ impl<'a> Provider for Sftp<'a> {
|
||||||
),
|
),
|
||||||
domain: self.name.intern(),
|
domain: self.name.intern(),
|
||||||
};
|
};
|
||||||
|
let from = self.url.to_owned();
|
||||||
|
|
||||||
Ok(crate::provider::copy_with_progress_impl(from, to, attrs.into()))
|
Ok(crate::provider::copy_with_progress_impl(from, to, attrs.into()))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue