From d91215d418bfbaa22eb973a9a67cc2aa6aa8ac6b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 4 Jul 2024 20:58:30 -0400 Subject: fix: revert accidentally added `parentPath` on `DirEntry` (#24438) Reverts the accidentally added `.parentPath` on dir entries in https://github.com/denoland/deno/pull/24257/files This should not have been added to the public api and is not documented. --- ext/fs/std_fs.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/fs/std_fs.rs') diff --git a/ext/fs/std_fs.rs b/ext/fs/std_fs.rs index 79f66cc4b..c501b8928 100644 --- a/ext/fs/std_fs.rs +++ b/ext/fs/std_fs.rs @@ -814,7 +814,6 @@ fn read_dir(path: &Path) -> FsResult> { }; } Some(FsDirEntry { - parent_path: path.to_string_lossy().to_string(), name, is_file: method_or_false!(is_file), is_directory: method_or_false!(is_dir), -- cgit v1.2.3