mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: new duplicate DDS event for copying files (#3456)
This commit is contained in:
parent
6e3c96289e
commit
8c81172a19
24 changed files with 441 additions and 158 deletions
|
|
@ -19,7 +19,7 @@ yazi-shim = { path = "../yazi-shim", version = "25.9.15" }
|
|||
|
||||
# External dependencies
|
||||
anyhow = { workspace = true }
|
||||
arc-swap = "1.7.1"
|
||||
arc-swap = "1.8.0"
|
||||
bitflags = { workspace = true }
|
||||
dirs = { workspace = true }
|
||||
foldhash = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ fn expand_variables(p: PathCow) -> PathCow {
|
|||
});
|
||||
|
||||
match (b, p.kind()) {
|
||||
(Cow::Borrowed(_), _) => p.into(),
|
||||
(Cow::Borrowed(_), _) => p,
|
||||
(Cow::Owned(b), PathKind::Os) => {
|
||||
PathBufDyn::Os(std::path::PathBuf::from_wtf8_vec(b).expect("valid WTF-8 path")).into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue