mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
refactor: generalize Loc, LocBuf, Uri, and Urn (#3295)
This commit is contained in:
parent
564b885196
commit
a3e9ea0d16
23 changed files with 532 additions and 285 deletions
|
|
@ -15,7 +15,7 @@ impl VfsFilesOp for FilesOp {
|
|||
} else if maybe_exists(cwd).await {
|
||||
Self::IOErr(cwd.clone(), err).emit();
|
||||
} else if let Some((p, n)) = cwd.pair() {
|
||||
Self::Deleting(p.into(), [n.into()].into()).emit();
|
||||
Self::Deleting(p.into(), [n.to_owned()].into()).emit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue