summaryrefslogtreecommitdiff
path: root/cli/standalone/virtual_fs.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-07-04 20:58:30 -0400
committerGitHub <noreply@github.com>2024-07-04 20:58:30 -0400
commitd91215d418bfbaa22eb973a9a67cc2aa6aa8ac6b (patch)
tree10a25233c4cf65eac8c2ee75acbf9759f3b58124 /cli/standalone/virtual_fs.rs
parentf396b3d1c8aaa7bf40fb1960f9ec81c3708ea2a8 (diff)
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.
Diffstat (limited to 'cli/standalone/virtual_fs.rs')
-rw-r--r--cli/standalone/virtual_fs.rs1
1 files changed, 0 insertions, 1 deletions
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(_)),