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:
Arno Fortelny 2016-12-29 16:58:13 -05:00 committed by GitHub
parent aa3defe9e7
commit 18ca86e3f5
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ type StatResult = {
path: string; // The absolute path to the item
size: string; // Size in bytes
mode: number; // UNIX file mode
ctime: number; // Created date
utime: number; // Updated date
isFile: () => boolean; // Is the file just a file?
isDirectory: () => boolean; // Is the file a directory?
};