HashedNTupleLayoutConfig
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:8
Object directories named by their id’s digest, nested under pieces of it.
Properties
Section titled “Properties”digestAlgorithm?
Section titled “digestAlgorithm?”
optionaldigestAlgorithm?:FixityAlgorithm
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:12
Algorithm used to hash the id. Defaults to sha256.
extensionName
Section titled “extensionName”extensionName:
"0004-hashed-n-tuple-storage-layout"
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:10
Name of the layout’s OCFL extension.
numberOfTuples?
Section titled “numberOfTuples?”
optionalnumberOfTuples?:number
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:16
Number of directory levels. Defaults to 3.
shortObjectRoot?
Section titled “shortObjectRoot?”
optionalshortObjectRoot?:boolean
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:18
Name the object directory with only the rest of the digest. Defaults to false.
tupleSize?
Section titled “tupleSize?”
optionaltupleSize?:number
Defined in: src/layouts/0004-hashed-n-tuple-storage-layout.ts:14
Characters of the digest in each directory level. Defaults to 3.