[][src]Crate rocfl

This library is a storage agnostic abstraction over OCFL repositories. Currently, it only supports read-only operations on local filesystems.

Create a new OcflRepo as follows:

use rocfl::OcflRepo;

let repo = OcflRepo::new_fs_repo("path/to/ocfl/storage/root");

Structs

Diff

Represents a change to a file

FileDetails

Details about a file in an OCFL object

ObjectVersion

Represents a version of an OCFL object

ObjectVersionDetails

Similar to ObjectVersion, except it does not contain the state map.

OcflRepo

Interface for interacting with an OCFL repository

VersionDetails

Metadata about a version

VersionNum

Represents an OCFL object version.

Enums

DiffType

Represents a type of change

RocflError

Application errors