Skip to content

FixityProblem

Defined in: src/ocfl-object.ts:146

One stored file that failed OcflObject.checkFixity.

readonly optional actual?: string

Defined in: src/ocfl-object.ts:156

The digest found on disk, in lowercase. Absent when the stored file is missing.


readonly affects: readonly object[]

Defined in: src/ocfl-object.ts:152

Every version, by number, and logical path that reads the stored file, by version then path. Empty if none does, as for a second stored file of one digest.


readonly expected: string

Defined in: src/ocfl-object.ts:154

The digest the inventory records, in lowercase.


readonly problem: "missing" | "changed"

Defined in: src/ocfl-object.ts:148

changed if the content no longer matches its digest, missing if there is no regular file at the stored file’s path.


readonly storedFile: string

Defined in: src/ocfl-object.ts:150

The stored file’s path from the storage root, with / between directories, such as a1b/c2d/item-1/v1/content/audio/1.wav. Never absolute.