dirent.name


此 <fs.Dirent> 对象引用的文件名。该值的类型由传给 fs.readdir() 或 fs.readdirSync() 的 options.encoding 决定。

¥The file name that this <fs.Dirent> object refers to. The type of this value is determined by the options.encoding passed to fs.readdir() or fs.readdirSync().