Fix ctime/utime attributes on .stat()
This fixes the .stat() results so that ctime/utime come through as expected. Looks like it was just an oversight. Fixes #222.
This commit is contained in:
parent
aa3defe9e7
commit
18ca86e3f5
|
@ -43,6 +43,8 @@ type StatResult = {
|
||||||
path: string; // The absolute path to the item
|
path: string; // The absolute path to the item
|
||||||
size: string; // Size in bytes
|
size: string; // Size in bytes
|
||||||
mode: number; // UNIX file mode
|
mode: number; // UNIX file mode
|
||||||
|
ctime: number; // Created date
|
||||||
|
utime: number; // Updated date
|
||||||
isFile: () => boolean; // Is the file just a file?
|
isFile: () => boolean; // Is the file just a file?
|
||||||
isDirectory: () => boolean; // Is the file a directory?
|
isDirectory: () => boolean; // Is the file a directory?
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue