Module rocfl::ocfl [−][src]
This library is a storage agnostic abstraction over OCFL repositories.
Create a new OcflRepo
as follows:
use rocfl::ocfl::OcflRepo; let repo = OcflRepo::fs_repo("path/to/ocfl/storage/root", None);
Structs
CommitMeta | Optional meta that may be associated with a commit |
FileDetails | Details about a file in an OCFL object |
InventoryPath | Represents a logical or content path. |
ObjectVersion | Represents a version of an OCFL object |
ObjectVersionDetails | Similar to |
OcflRepo | Interface for interacting with an OCFL repository |
StorageLayout | The storage layout maps object IDs to locations within the storage root |
VersionDetails | Metadata about a version |
VersionNum | Represents an OCFL object version. |
Enums
Diff | Represents a change to a file |
DigestAlgorithm | Enum of all valid digest algorithms |
LayoutExtensionName | Enum of known storage layout extensions |
RocflError | Application errors |
Type Definitions
Result |