ZenFS
Preparing search index...
index
readdirSync
Function readdirSync
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
?:
|
null
|
BufferEncoding
|
{
encoding
:
BufferEncoding | null
;
recursive
?:
boolean
;
withFileTypes
?:
false
;
}
,
)
:
string
[]
Parameters
this
:
V_Context
path
:
PathLike
Optional
options
:
|
null
|
BufferEncoding
|
{
encoding
:
BufferEncoding | null
;
recursive
?:
boolean
;
withFileTypes
?:
false
;
}
Returns
string
[]
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
:
|
"buffer"
|
{
encoding
:
"buffer"
;
recursive
?:
boolean
;
withFileTypes
?:
false
}
,
)
:
Buffer
<
ArrayBufferLike
>
[]
Parameters
this
:
V_Context
path
:
PathLike
options
:
"buffer"
|
{
encoding
:
"buffer"
;
recursive
?:
boolean
;
withFileTypes
?:
false
}
Returns
Buffer
<
ArrayBufferLike
>
[]
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
?:
|
null
|
BufferEncoding
|
ObjectEncodingOptions
&
{
recursive
?:
boolean
;
withFileTypes
?:
false
}
,
)
:
string
[]
|
Buffer
<
ArrayBufferLike
>
[]
Parameters
this
:
V_Context
path
:
PathLike
Optional
options
:
|
null
|
BufferEncoding
|
ObjectEncodingOptions
&
{
recursive
?:
boolean
;
withFileTypes
?:
false
}
Returns
string
[]
|
Buffer
<
ArrayBufferLike
>
[]
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
:
ObjectEncodingOptions
&
{
recursive
?:
boolean
;
withFileTypes
:
true
;
}
,
)
:
Dirent
<
string
>
[]
Parameters
this
:
V_Context
path
:
PathLike
options
:
ObjectEncodingOptions
&
{
recursive
?:
boolean
;
withFileTypes
:
true
}
Returns
Dirent
<
string
>
[]
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
:
{
encoding
:
"buffer"
;
recursive
?:
boolean
;
withFileTypes
:
true
}
,
)
:
Dirent
<
Buffer
<
ArrayBufferLike
>
>
[]
Parameters
this
:
V_Context
path
:
PathLike
options
:
{
encoding
:
"buffer"
;
recursive
?:
boolean
;
withFileTypes
:
true
}
Returns
Dirent
<
Buffer
<
ArrayBufferLike
>
>
[]
readdirSync
(
this
:
V_Context
,
path
:
PathLike
,
options
?:
ReaddirOptions
,
)
:
string
[]
|
Buffer
<
ArrayBufferLike
>
[]
|
Dirent
<
any
>
[]
Parameters
this
:
V_Context
path
:
PathLike
Optional
options
:
ReaddirOptions
Returns
string
[]
|
Buffer
<
ArrayBufferLike
>
[]
|
Dirent
<
any
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ZenFS
Loading...