MergeResult
@aurorajs.dev/catalyst-cli / generator/engine/lock-file / MergeResult
Interface: MergeResult
Sección titulada «Interface: MergeResult»Defined in: generator/engine/lock-file.ts:205
Outcome of mergePreservationRegions.
The three name arrays are disjoint and together describe what happened to
every region present in either input. Useful for emitting per-region log
lines ([REGION UPDATED], [REGION PRESERVED], [REGION DROPPED]).
Properties
Sección titulada «Properties»content
Sección titulada «content»content:
string
Defined in: generator/engine/lock-file.ts:207
The merged file contents, ready to be written to disk.
dropped
Sección titulada «dropped»dropped:
string[]
Defined in: generator/engine/lock-file.ts:209
Regions present in existingContent but not in newContent. Their body was lost.
preserved
Sección titulada «preserved»preserved:
string[]
Defined in: generator/engine/lock-file.ts:211
Regions kept byte-for-byte from existingContent because the user had modified them.
updated
Sección titulada «updated»updated:
string[]
Defined in: generator/engine/lock-file.ts:213
Regions whose body was refreshed from newContent because priorHashes indicated no user edits.