FixityProblem
Defined in: src/ocfl-object.ts:146
One stored file that failed OcflObject.checkFixity.
Properties
Section titled “Properties”actual?
Section titled “actual?”
readonlyoptionalactual?:string
Defined in: src/ocfl-object.ts:156
The digest found on disk, in lowercase. Absent when the stored file is missing.
affects
Section titled “affects”
readonlyaffects: readonlyobject[]
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.
expected
Section titled “expected”
readonlyexpected:string
Defined in: src/ocfl-object.ts:154
The digest the inventory records, in lowercase.
problem
Section titled “problem”
readonlyproblem:"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.
storedFile
Section titled “storedFile”
readonlystoredFile: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.