- readdirSync(
this: V_Context,
path: PathLike,
options?: NullEnc | ReaddirOptsI<{ withFileTypes?: false }>,
): string[] Parameters
- this: V_Context
- path: PathLike
Optional
options: NullEnc | ReaddirOptsI<{ withFileTypes?: false }>
Returns string[]
- readdirSync(
this: V_Context,
path: PathLike,
options: BufferEncodingOption & ReaddirOptions & { withFileTypes?: false },
): Buffer[] Parameters
- this: V_Context
- path: PathLike
- options: BufferEncodingOption & ReaddirOptions & { withFileTypes?: false }
Returns Buffer[]
- readdirSync(
this: V_Context,
path: PathLike,
options?: NullEnc | ReaddirOptsI<{ withFileTypes?: false }>,
): string[] | Buffer[] Parameters
- this: V_Context
- path: PathLike
Optional
options: NullEnc | ReaddirOptsI<{ withFileTypes?: false }>
Returns string[] | Buffer[]
- readdirSync(
this: V_Context,
path: PathLike,
options: ReaddirOptsI<{ withFileTypes: true }>,
): Dirent[] Parameters
- this: V_Context
- path: PathLike
- options: ReaddirOptsI<{ withFileTypes: true }>
- readdirSync(
this: V_Context,
path: PathLike,
options?:
| null
| "ascii"
| "utf8"
| "utf-8"
| "utf16le"
| "utf-16le"
| "ucs2"
| "ucs-2"
| "base64"
| "base64url"
| "latin1"
| "binary"
| "hex"
| ReaddirOptions & ObjectEncodingOptions
| ReaddirOptions & "buffer"
| ReaddirOptions & { encoding: "buffer" },
): string[] | Dirent[] | Buffer[] Parameters
- this: V_Context
- path: PathLike
Optional
options:
| null
| "ascii"
| "utf8"
| "utf-8"
| "utf16le"
| "utf-16le"
| "ucs2"
| "ucs-2"
| "base64"
| "base64url"
| "latin1"
| "binary"
| "hex"
| ReaddirOptions & ObjectEncodingOptions
| ReaddirOptions & "buffer"
| ReaddirOptions & { encoding: "buffer" }
Returns string[] | Dirent[] | Buffer[]