Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/executor / CorruptLedgerLine

Interface: CorruptLedgerLine

Defined in: packages/executor/src/ledger.ts:221

One malformed line of the ledger file, surfaced for triage.

Properties

PropertyTypeDescriptionDefined in
linenumber1-based physical line number in the file.packages/executor/src/ledger.ts:223
offsetnumberByte offset of the line's first byte within the file.packages/executor/src/ledger.ts:225
previewstringThe first 120 characters of the line (lossy-decoded when the bytes are not valid UTF-8; the hash pins the exact bytes).packages/executor/src/ledger.ts:230
sha256stringsha256 (hex) of the raw line bytes: forensics without re-reading.packages/executor/src/ledger.ts:227