readdirSync
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options?):string[]
Defined in: src/node/sync.ts:416
Parameters
Section titled “Parameters”unknown
PathLike
options?
Section titled “options?”BufferEncoding | { encoding: BufferEncoding | null; recursive?: boolean; withFileTypes?: false; } | null
Returns
Section titled “Returns”string[]
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options):NonSharedBuffer[]
Defined in: src/node/sync.ts:421
Parameters
Section titled “Parameters”unknown
PathLike
options
Section titled “options”"buffer" | { encoding: "buffer"; recursive?: boolean; withFileTypes?: false; }
Returns
Section titled “Returns”NonSharedBuffer[]
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options?):string[] |NonSharedBuffer[]
Defined in: src/node/sync.ts:426
Parameters
Section titled “Parameters”unknown
PathLike
options?
Section titled “options?”BufferEncoding | ObjectEncodingOptions & object | null
Returns
Section titled “Returns”string[] | NonSharedBuffer[]
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options):Dirent<string>[]
Defined in: src/node/sync.ts:431
Parameters
Section titled “Parameters”unknown
PathLike
options
Section titled “options”ObjectEncodingOptions & object
Returns
Section titled “Returns”Dirent<string>[]
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options):Dirent<NonSharedBuffer>[]
Defined in: src/node/sync.ts:436
Parameters
Section titled “Parameters”unknown
PathLike
options
Section titled “options”encoding
Section titled “encoding”"buffer"
recursive?
Section titled “recursive?”boolean
withFileTypes
Section titled “withFileTypes”true
Returns
Section titled “Returns”Dirent<NonSharedBuffer>[]
Call Signature
Section titled “Call Signature”readdirSync(
this,path,options?):string[] |Dirent<any>[] |Buffer<ArrayBufferLike>[]
Defined in: src/node/sync.ts:441
Parameters
Section titled “Parameters”unknown
PathLike
options?
Section titled “options?”NodeReaddirOptions
Returns
Section titled “Returns”string[] | Dirent<any>[] | Buffer<ArrayBufferLike>[]