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. --- cli/standalone/virtual_fs.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'cli') diff --git a/cli/standalone/virtual_fs.rs b/cli/standalone/virtual_fs.rs index ee91b9f7f..0d39f8e95 100644 --- a/cli/standalone/virtual_fs.rs +++ b/cli/standalone/virtual_fs.rs @@ -787,7 +787,6 @@ impl FileBackedVfs { .entries .iter() .map(|entry| FsDirEntry { - parent_path: path.to_string_lossy().into_owned(), name: entry.name().to_string(), is_file: matches!(entry, VfsEntry::File(_)), is_directory: matches!(entry, VfsEntry::Dir(_)), -- cgit v1.2.3