# Functions
No description provided by the author
NewManager creates new block manager with given packing options and a formatter.
RegisterEncryption registers new encryption algorithm.
RegisterHash registers a hash function with a given name.
No description provided by the author
No description provided by the author
UsingBlockCache returns a derived context that causes block manager to use cache.
UsingListCache returns a derived context that causes block manager to use cache.
# Constants
DefaultEncryption is the name of the default encryption algorithm.
DefaultHash is the name of the default hash algorithm.
PackBlockPrefix is the prefix for all pack storage blocks.
# Structs
CachingOptions specifies configuration of local cache.
CompactOptions provides options for compaction.
Format describes a format of a single pack index.
FormattingOptions describes the rules for formatting blocks in repository.
IndexInfo is an information about a single index block managed by Manager.
Info is an information about a single block managed by Manager.
Manager manages storage blocks at a low level with encryption, deduplication and packaging.
Stats exposes statistics about block operation.
# Interfaces
Encryptor performs encryption and decryption of blocks of data.
# Type aliases
EncryptorFactory creates new Encryptor for given FormattingOptions.
HashFunc computes hash of block of data using a cryptographic hash function, possibly with HMAC and/or truncation.
HashFuncFactory returns a hash function for given formatting options.