disknode.ts

Declarations
#

view source

Disknode
#

disknode.ts view source

Disknode

id

type PathId

contents

null contents means it doesn't exist. We create the file in memory to track its dependents regardless of its existence on disk.

type string | null

external

Is the source file outside of the root_dir or excluded by watch_dir_options.filter?

type boolean

ctime

type number | null

mtime

type number | null

content_hash

SHA-256 hash of contents. null iff contents is null. Used for content-based change detection and caching.

type string | null

dependents

type Map<PathId, Disknode>

dependencies

type Map<PathId, Disknode>