Skip to main content

Module storage

Module storage 

Source
Expand description

Hashtree-backed git object and ref storage with configurable persistence

Stores git objects and refs in a hashtree merkle tree: root/ .git/ HEAD -> “ref: refs/heads/main” refs/heads/main -> objects/XX/YYYY… -> zlib-compressed loose object (standard git layout)

The root hash (SHA-256) is the content-addressed identifier for the entire repo state.

Structs§

GitStorage
Git storage backed by HashTree with configurable persistence

Enums§

LocalStore
Local blob store - wraps either FsBlobStore or LmdbBlobStore