Skip to content
go-libfossil Artifact [7b5ab28603]
Login

Artifact [7b5ab28603]

Artifact 7b5ab28603e1e3f03a62cf15a3432ed35bdef884dfba7070e637d5a212fff5a8:


// Package blob handles content-addressed blob storage in Fossil
// repository databases.
//
// Fossil's blob format is a 4-byte big-endian uncompressed-size prefix
// followed by zlib-compressed data. [Compress] and [Decompress] handle
// this encoding transparently.
//
// [Store] compresses content, computes its SHA1 hash, and inserts it
// into the blob table. [StoreDelta] does the same for delta-encoded
// blobs and records the delta relationship. [Load] retrieves and
// decompresses a blob by RID.
package blob