mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
f63746371e
commit
e45f523002
1 changed files with 2 additions and 2 deletions
|
|
@ -197,9 +197,9 @@ impl File {
|
|||
self.prog.send(TaskProg::New(task.id, meta.len()))?;
|
||||
|
||||
if meta.is_file() {
|
||||
self.queue(FileOp::Paste(task.spawn(to, from, meta)), LOW).await?;
|
||||
self.queue(FileOp::Paste(task.spawn(from, to, meta)), LOW).await?;
|
||||
} else if meta.is_symlink() {
|
||||
self.queue(FileOp::Link(task.spawn(to, from, meta).into()), NORMAL).await?;
|
||||
self.queue(FileOp::Link(task.spawn(from, to, meta).into()), NORMAL).await?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue