KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
mocks
<internal>
Dirent
Class Dirent
A directory entry, like
fs.Dirent
.
Implements
IDirent
Index
Constructors
constructor
Properties
name
parent
Path
path
Methods
is
Block
Device
is
Character
Device
is
Directory
is
FIFO
is
File
is
Socket
is
Symbolic
Link
build
Constructors
constructor
new
Dirent
()
:
Dirent
Returns
Dirent
Properties
name
name
:
TDataOut
parent
Path
parentPath
:
string
path
path
:
string
Methods
is
Block
Device
isBlockDevice
()
:
boolean
Returns
boolean
is
Character
Device
isCharacterDevice
()
:
boolean
Returns
boolean
is
Directory
isDirectory
()
:
boolean
Returns
boolean
is
FIFO
isFIFO
()
:
boolean
Returns
boolean
is
File
isFile
()
:
boolean
Returns
boolean
is
Socket
isSocket
()
:
boolean
Returns
boolean
is
Symbolic
Link
isSymbolicLink
()
:
boolean
Returns
boolean
Static
build
build
(
link
:
Link
,
encoding
:
TEncodingExtended
|
undefined
)
:
Dirent
Parameters
link
:
Link
encoding
:
TEncodingExtended
|
undefined
Returns
Dirent
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
parent
Path
path
Methods
is
Block
Device
is
Character
Device
is
Directory
is
FIFO
is
File
is
Socket
is
Symbolic
Link
build
Github
KC's Workspace
Loading...
A directory entry, like
fs.Dirent.