import{ notImplemented }from"../_utils.ts"; exportdefaultclassDirent{constructor(private entry:Deno.DirEntry){} isBlockDevice():boolean{returnthis.entry.blocks!=null;} isCharacterDevice():boolean{returnthis.entry.blocks==null;} isDirectory():boolean{returnthis.entry.isDirectory;} isFIFO():boolean{notImplemented("Deno does not yet support identification of FIFO named pipes");returnfalse;} isFile():boolean{returnthis.entry.isFile;} isSocket():boolean{notImplemented("Deno does not yet support identification of sockets");returnfalse;} isSymbolicLink():boolean{returnthis.entry.isSymlink;} getname():string|null{returnthis.entry.name;}}