# Functions
DataNameFrom calculates a datafile name from a metafile name.
IsMetaFileName determines if a given source string is named like a metafile.
MetaNameFrom calculates a metafile name for a data file.
New creates a new instance of a file and names it by hashing the content of the supplied reader.
NewMetaFromFile produces memorybox formatted metadata from a supplied file.
No description provided by the author
NewStub produces a file that can be instantiated with details from a stat call.
Sha256 computes a sha256 message digest for a provided io.Reader.
ValidateMeta determines if a given set of bytes matches the metaFile format.
# Constants
MetaFileMaxSize defines the maximum size allowed for metadata files.
MetaFilePrefix controls naming for metadata files (which are named the same as the file they describe plus this prefix).
MetaKey is the key in metadata json files under which memorybox controls the content automatically.
MetaKeyFileName refers to the location where memorybox stores the name of the datafile that a metafile describes.
MetaKeyImport refers to the location where memorybox stores details about when a file was imported.
MetaKeyImportSet refers to the location where memorybox stores details about what grouping of files a given file was imported with.
MetaKeyImportSource refers to the location where memorybox stores a string value that represents the original source a user supplied when putting a datafile into the store.
MetaMemoryboxKey is the key under meta that is set to true to indicate the metadata belongs to memorybox.