summaryrefslogtreecommitdiff
path: root/cli/js/stat.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2020-01-16 06:46:32 -0800
committerRy Dahl <ry@tinyclouds.org>2020-01-16 09:46:32 -0500
commit91757f63fdc04f5844b58a8c0b76df601e84ac72 (patch)
tree382b49b96db5a12e1452137e36192f4468e04083 /cli/js/stat.ts
parent5856d21a2eca75bad28108cb53066259fd7427fb (diff)
feat(fs): add more unix-only fields to FileInfo (#3680)
Diffstat (limited to 'cli/js/stat.ts')
-rw-r--r--cli/js/stat.ts12
1 files changed, 10 insertions, 2 deletions
diff --git a/cli/js/stat.ts b/cli/js/stat.ts
index 4a07eca21..b27170263 100644
--- a/cli/js/stat.ts
+++ b/cli/js/stat.ts
@@ -10,9 +10,17 @@ export interface StatResponse {
modified: number;
accessed: number;
created: number;
- mode: number;
- hasMode: boolean; // false on windows
name: string | null;
+ // Unix only members
+ dev: number;
+ ino: number;
+ mode: number;
+ nlink: number;
+ uid: number;
+ gid: number;
+ rdev: number;
+ blksize: number;
+ blocks: number;
}
/** Queries the file system for information on the path provided. If the given