From ad20e481823bcb19d919d90a5c1351221091c16a Mon Sep 17 00:00:00 2001 From: SoulKa Date: Thu, 5 Sep 2024 12:37:17 +0200 Subject: [PATCH] #735 - add parentPath property to Dirent --- src/Dirent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Dirent.ts b/src/Dirent.ts index 32cafd514..237598f11 100644 --- a/src/Dirent.ts +++ b/src/Dirent.ts @@ -16,12 +16,14 @@ export class Dirent implements IDirent { dirent.name = strToEncoding(link.getName(), encoding); dirent.mode = mode; dirent.path = link.getParentPath(); + dirent.parentPath = dirent.path; return dirent; } name: TDataOut = ''; path = ''; + parentPath = ''; private mode: number = 0; private _checkModeProperty(property: number): boolean {