Versions in this module Expand all Collapse all v1 v1.0.1 Jun 10, 2024 v1.0.0 Jun 7, 2024 Changes in this version + func Open(fs vfs.FS, dirname string) (*Catalog, CatalogContents, error) + type Batch struct + func (b *Batch) AddObject(meta RemoteObjectMetadata) + func (b *Batch) Append(other Batch) + func (b *Batch) Copy() Batch + func (b *Batch) DeleteObject(fileNum base.DiskFileNum) + func (b *Batch) IsEmpty() bool + func (b *Batch) Reset() + type Catalog struct + func (c *Catalog) ApplyBatch(b Batch) error + func (c *Catalog) Close() error + func (c *Catalog) SetCreatorID(id objstorage.CreatorID) error + type CatalogContents struct + CreatorID objstorage.CreatorID + Objects []RemoteObjectMetadata + type RemoteObjectMetadata struct + CleanupMethod objstorage.SharedCleanupMethod + CreatorFileNum base.DiskFileNum + CreatorID objstorage.CreatorID + CustomObjectName string + FileNum base.DiskFileNum + FileType base.FileType + Locator remote.Locator + type VersionEdit struct + CreatorID objstorage.CreatorID + DeletedObjects []base.DiskFileNum + NewObjects []RemoteObjectMetadata + func (v *VersionEdit) Apply(creatorID *objstorage.CreatorID, ...) error + func (v *VersionEdit) Decode(r io.Reader) error + func (v *VersionEdit) Encode(w io.Writer) error