deno/std/nodeのfs.DirentでisBlockDeviceの判定ができないのはRustに実装がされていないから...ではない

追記: Rustにis_block_deviceがあって、Denoにはなかった github.com fs.readdir(path, options, callback)のoptionsにwithFileTypes: trueを指定すると、fs.Direntが返ってくる。 fs.Direntのdirent.isBlockDevice()を使った例が以下。 $ node Welcome to Node.js v16.13.1. Type ".help" for more information. > const …