summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_dirent.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/_fs/_fs_dirent.ts')
-rw-r--r--std/node/_fs/_fs_dirent.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/std/node/_fs/_fs_dirent.ts b/std/node/_fs/_fs_dirent.ts
index 55fbad142..3ea1def42 100644
--- a/std/node/_fs/_fs_dirent.ts
+++ b/std/node/_fs/_fs_dirent.ts
@@ -4,11 +4,15 @@ export default class Dirent {
constructor(private entry: Deno.DirEntry) {}
isBlockDevice(): boolean {
- return this.entry.blocks != null;
+ notImplemented("Deno does not yet support identification of block devices");
+ return false;
}
isCharacterDevice(): boolean {
- return this.entry.blocks == null;
+ notImplemented(
+ "Deno does not yet support identification of character devices"
+ );
+ return false;
}
isDirectory(): boolean {