From 209b2868131f43e1707fc706805a270a2b73d45a Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 19 Jun 2024 12:51:01 +0530 Subject: fix(ext/node): Add Dirent.path and Dirent.parentPath (#24257) --- ext/fs/interface.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fs/interface.rs') diff --git a/ext/fs/interface.rs b/ext/fs/interface.rs index 5031dc134..833f362bf 100644 --- a/ext/fs/interface.rs +++ b/ext/fs/interface.rs @@ -72,6 +72,7 @@ pub enum FsFileType { #[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