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/interface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fs/interface.rs') diff --git a/ext/fs/interface.rs b/ext/fs/interface.rs index 6036f8228..cb6fc4f63 100644 --- a/ext/fs/interface.rs +++ b/ext/fs/interface.rs @@ -69,10 +69,10 @@ pub enum FsFileType { Junction, } +/// WARNING: This is part of the public JS Deno API. #[derive(Serialize)] #[serde(rename_all = "camelCase")] pub struct FsDirEntry { - pub parent_path: String, pub name: String, pub is_file: bool, pub is_directory: bool, -- cgit v1.2.3