Skip to content

Version

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

One version of an OCFL object.

readonly createdAt: Date

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

When the version was committed.


readonly files: ReadonlyMap<string, OcflFile>

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

The version’s files, keyed by logical path.


readonly optional message?: string

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

Why the version was made. Absent if whatever wrote the version recorded none.


readonly number: number

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

Version number, starting at 1.


readonly optional user?: User

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

Who made the version. Absent if whatever wrote the version recorded none.