refactor: generalize Loc, LocBuf, Uri, and Urn (#3295)

This commit is contained in:
三咲雅 misaki masa 2025-10-30 19:37:46 +08:00 committed by GitHub
parent 564b885196
commit a3e9ea0d16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 532 additions and 285 deletions

View file

@ -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();
}
}
}