Skip to content

vaultmd / TransformResult

Type Alias: TransformResult

TransformResult = object

Defined in: src/locked-file/models/transform-result.ts:2

The result returned by withFileTransform.

Properties

content

content: string | null

Defined in: src/locked-file/models/transform-result.ts:8

The file content after the operation: the new content when outcome is 'created' or 'updated', the original content when 'unchanged', or null when the file was absent and no creation was requested.


outcome

outcome: "created" | "updated" | "unchanged"

Defined in: src/locked-file/models/transform-result.ts:10

Whether the transform created a new file, updated an existing one, or made no change.