Skip to content

DiffEntry

Defined in: packages/core/src/kernel/layer.ts:76

A single path-level change classified against the parent layer.

Emitted by LayerStore.diff. Path is always relative to the filesystem root (no leading /).

LayerStore

kind: "added" | "modified" | "deleted"

Defined in: packages/core/src/kernel/layer.ts:80

added — new in this layer; modified — existed in parent; deleted — whiteout present.


nodeType: NodeType

Defined in: packages/core/src/kernel/layer.ts:82

Node type of the entry — 'file', 'dir', or 'symlink'. For deletions, the parent’s type (or 'file' if unknown).


path: string

Defined in: packages/core/src/kernel/layer.ts:78

Path relative to the FS root, no leading slash. For deletions, the original (un-whiteout) path.