Migrate ExecutorFileSystem remove to PathUri

This commit is contained in:
Codex
2026-06-10 22:16:25 +00:00
committed by Adam Perry
parent b76475bc76
commit cd02f0c115
16 changed files with 41 additions and 34 deletions
@@ -311,7 +311,7 @@ async fn file_system_remove_removes_directory(
file_system
.remove(
&absolute_path(&directory_path),
&PathUri::from_path(&directory_path)?,
RemoveOptions {
recursive: true,
force: true,
@@ -583,7 +583,7 @@ async fn file_system_remove_removes_symlink_not_target(
let sandbox = workspace_write_sandbox(allowed_dir);
file_system
.remove(
&absolute_path(&symlink_path),
&PathUri::from_path(&symlink_path)?,
RemoveOptions {
recursive: false,
force: false,
@@ -660,7 +660,7 @@ async fn file_system_remove_rejects_symlink_escape(
let sandbox = workspace_write_sandbox(allowed_dir);
let error = match file_system
.remove(
&absolute_path(&requested_path),
&PathUri::from_path(&requested_path)?,
RemoveOptions {
recursive: false,
force: false,