Versions in this module Expand all Collapse all v0 v0.2.0 Sep 17, 2019 Changes in this version type Config + FilePaths fspath.Generator + ObjectPaths fspath.Generator v0.1.0 Feb 12, 2019 Changes in this version + const AtomicPrefix + func LocateRoot(loc string) (string, error) + func MkRoot(path string) (err error) + func Passthrough(id string) string + func ReadInventory(objPath string) (*metadata.Inventory, error) + type Config struct + FilePathFunc PathFunc + ObjectPathFunc PathFunc + Root string + type Driver struct + func NewDriver(cfg Config) (*Driver, error) + func (d *Driver) Open(id string, opts ocfl.Options) (sess ocfl.Session, err error) + func (d *Driver) Walk(desired ocfl.Select, cb func(ocfl.EntityRef) error, loc ...string) error + type ManagedWrite struct + func AtomicWrite(path string) (*ManagedWrite, error) + func SafeWrite(path string) (*ManagedWrite, error) + func (w *ManagedWrite) Close() error + func (w *ManagedWrite) Rollback() error + type PathFunc func(id string) string + type TeeWriter struct + Tee io.Writer + func (t *TeeWriter) Write(b []byte) (n int, err error)