package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Packages

# Functions

CreateHashedBufferFromReader creates a hashed buffer with the default memory size and copies the provided reader data into it.
CreateHashedBufferFromReaderWithSize creates a hashed buffer and copies the provided reader data into it.
KeyToRelativePath converts the sha256 key aabb000000..
NewContentStore creates the default package store.
NewHashedBuffer creates a hashed buffer with the default memory size.
NewHashedBufferWithSize creates a hashed buffer with a specific memory size.
NewMultiHasher creates a multi hasher.
RelativePathToKey converts a relative path aa/bb/aabb000000..

# Constants

# Structs

ContentStore is a wrapper around ObjectStorage.
HashedBuffer is buffer which calculates multiple checksums.
MultiHasher calculates multiple checksums.

# Interfaces

HashedSizeReader provide methods to read, sum hashes and a Size method.
HashSummer provide a Sums method.

# Type aliases

BlobHash256Key is the key to address a blob content.