property Dirent.prototype.name
Usage in Deno
import { Dirent } from "node:fs";
The file name that this fs.Dirent
object refers to. The type of this
value is determined by the options.encoding
passed to readdir or readdirSync.
string
import { Dirent } from "node:fs";
The file name that this fs.Dirent
object refers to. The type of this
value is determined by the options.encoding
passed to readdir or readdirSync.
string