package
1.0.1
Repository: https://github.com/tkellen/memorybox.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Delete removes a datafile/metafile pair for any backing store.
Diff shows the differences between two stores.
GetDataByPrefix retrieves a datafile from any backing store as long as there is only one match.
GetMetaByPrefix retrieves a metafile from any backing store as long as there is only one match.
Import performs a mass put / annotation operation on any number of manifest files, formatted like so: ``` path/to/file.jpg {"title":"some file on my machine"} https://images.com/photo.jpg {"title":"some photo on the internet"} https://audio.com/audio.mp3 {"title":"some mp3 on the internet"} ``` Import will intelligently de-dupe manifests.
Index concats all metafiles in the provided store, one per line.
IndexUpdate reads a provided reader line by line where each line is expected to be the content of a metafile.
Put persists a datafile/metafile pair for any backing store and returns the meta information about the file.
Sync converges the content of two provided stores so they are identical.

# Structs

No description provided by the author
No description provided by the author
Logger defines output streams for interacting with archives.

# Interfaces

Store defines a storage engine that can persist and retrieve content.