Revert "fs: Replace a bunch of uses of smol::fs with manual impls" (#40170)

Reverts zed-industries/zed#39906

This PR should not have landed prior to Wednesday.
This commit is contained in:
Piotr Osiewicz
2025-10-14 11:04:40 +00:00
committed by GitHub
parent 9ad6196150
commit da583e5943
8 changed files with 184 additions and 336 deletions
+2 -1
View File
@@ -734,6 +734,7 @@ async fn test_write_file(cx: &mut TestAppContext) {
})
.await
.unwrap();
worktree.read_with(cx, |tree, _| {
let tracked = tree
.entry_for_path(rel_path("tracked-dir/file.txt"))
@@ -1536,7 +1537,7 @@ async fn test_random_worktree_operations_during_initial_scan(
assert_eq!(
updated_snapshot.entries(true, 0).collect::<Vec<_>>(),
final_snapshot.entries(true, 0).collect::<Vec<_>>(),
"wrong updates after snapshot {i}: {updates:#?}",
"wrong updates after snapshot {i}: {snapshot:#?} {updates:#?}",
);
}
}