statUtils
Index
Classes
BigIntStatsEntry
constructor
Returns BigIntStatsEntry
atime
atimeMs
atimeNs
birthtime
birthtimeMs
birthtimeNs
blksize
blocks
ctime
ctimeMs
ctimeNs
dev
gid
ino
mode
mtime
mtimeMs
mtimeNs
nlink
rdev
size
uid
isBlockDevice
Returns boolean
isCharacterDevice
Returns boolean
isDirectory
Returns boolean
isFIFO
Returns boolean
isFile
Returns boolean
isSocket
Returns boolean
isSymbolicLink
Returns boolean
DirEntry
Type parameters
- T = undefined
constructor
Type parameters
- T = undefined
Returns DirEntry<T>
publicmode
publicname
publicpath
isBlockDevice
Returns boolean
isCharacterDevice
Returns boolean
isDirectory
Returns boolean
isFIFO
Returns boolean
isFile
Returns boolean
isSocket
Returns boolean
isSymbolicLink
Returns boolean
StatEntry
constructor
Returns StatEntry
atime
atimeMs
birthtime
birthtimeMs
blksize
blocks
ctime
ctimeMs
dev
gid
ino
mode
mtime
mtimeMs
nlink
rdev
size
uid
isBlockDevice
Returns boolean
isCharacterDevice
Returns boolean
isDirectory
Returns boolean
isFIFO
Returns boolean
isFile
Returns boolean
isSocket
Returns boolean
isSymbolicLink
Returns boolean
Variables
constDEFAULT_MODE
Functions
areStatsEqual
Parameters
a: Stats | BigIntStatsEntry
b: Stats | BigIntStatsEntry
Returns boolean
clearStats
Parameters
stats: Stats | BigIntStats
Returns Stats | BigIntStats
convertToBigIntStats
Parameters
stats: Stats
Returns BigIntStats
makeDefaultStats
Returns StatEntry
makeEmptyStats
Returns Stats | BigIntStats
Mutates the provided stats object to zero it out then returns it for convenience