Use strings for paths and buffer contents

This commit is contained in:
Max Brunsfeld
2021-06-17 16:25:30 -07:00
parent f4dccc5353
commit 3a78f053f6
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ impl Worktree {
.spawn(async move {
snapshot
.paths()
.map(|path| path.as_os_str().as_bytes().to_vec())
.map(|path| path.to_string_lossy().to_string())
.collect()
})
.await;