Properties
Private
Optional
_mode
_mode?: number
Private
_originalMode
_originalMode: number
blockSizes
blockSizes: bigint[]
Optional
fanout
fanout?: bigint
Optional
hashType
hashType?: bigint
Accessors
mode
- get mode(): undefined | number
Returns undefined | number
- set mode(mode): void
Returns void
Methods
addBlockSize
- addBlockSize(size): void
Returns void
fileSize
- fileSize(): bigint
Returns bigint
isDirectory
- isDirectory(): boolean
Returns boolean
removeBlockSize
- removeBlockSize(index): void
Returns void
Returns
0n
for directories ordata.length + sum(blockSizes)
for everything else