initializeStorage
OcflStorageLayoutExtension initializeStorage(OcflVersion ocflVersion,
OcflExtensionConfig layoutConfig,
ExtensionSupportEvaluator supportEvaluator)
Initializes a new OCFL storage root when the storage root does not already exist. If the storage root does exist,
then the configuration is examined to ensure that it matches what was configured programmatically. If nothing
was configured programmatically, then the configuration on disk is used without validation.
- Parameters:
ocflVersion - OCFL version the repository conforms to
layoutConfig - storage layout configuration, may be null when not creating a new repository
supportEvaluator - repository extension evaluator
- Returns:
- the storage layout extension the repository uses