diff options
Diffstat (limited to 'ext/node/polyfills/_fs/_fs_stat.ts')
-rw-r--r-- | ext/node/polyfills/_fs/_fs_stat.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/node/polyfills/_fs/_fs_stat.ts b/ext/node/polyfills/_fs/_fs_stat.ts index de9b69ba3..c4ed82d57 100644 --- a/ext/node/polyfills/_fs/_fs_stat.ts +++ b/ext/node/polyfills/_fs/_fs_stat.ts @@ -109,6 +109,28 @@ class StatsBase { this.size = size; this.blocks = blocks; } + + isFile() { + return false; + } + isDirectory() { + return false; + } + isSymbolicLink() { + return false; + } + isBlockDevice() { + return false; + } + isFIFO() { + return false; + } + isCharacterDevice() { + return false; + } + isSocket() { + return false; + } } // The Date constructor performs Math.floor() to the timestamp. |