HashAndIdNTupleLayoutConfig
Defined in: src/layouts/0003-hash-and-id-n-tuple-storage-layout.ts:8
Object directories named by their encoded id, nested under pieces of the id’s digest.
Properties
Section titled “Properties”digestAlgorithm?
Section titled “digestAlgorithm?”
optionaldigestAlgorithm?:FixityAlgorithm
Defined in: src/layouts/0003-hash-and-id-n-tuple-storage-layout.ts:12
Algorithm used to hash the id. Defaults to sha256.
extensionName
Section titled “extensionName”extensionName:
"0003-hash-and-id-n-tuple-storage-layout"
Defined in: src/layouts/0003-hash-and-id-n-tuple-storage-layout.ts:10
Name of the layout’s OCFL extension.
numberOfTuples?
Section titled “numberOfTuples?”
optionalnumberOfTuples?:number
Defined in: src/layouts/0003-hash-and-id-n-tuple-storage-layout.ts:16
Number of directory levels. Defaults to 3.
tupleSize?
Section titled “tupleSize?”
optionaltupleSize?:number
Defined in: src/layouts/0003-hash-and-id-n-tuple-storage-layout.ts:14
Characters of the digest in each directory level. Defaults to 3.