Module storage

Module storage 

Source
Expand description

Hashtree-backed git object and ref storage using LMDB persistence

Stores git objects and refs in a hashtree merkle tree with working tree: root/ .git/ HEAD -> “ref: refs/heads/main” refs/ heads/main -> tags/v1.0 -> objects/ -> zlib-compressed loose object README.md -> actual file content (from HEAD) src/main.rs -> actual file content

The working tree is extracted from HEAD commit for direct browsing. The root hash (SHA-256) is the content-addressed identifier for the entire repo state. All hashtree nodes are persisted to LMDB via LmdbBlobStore.

Structs§

GitStorage
Git storage backed by hashtree with LMDB persistence
WorkingTreeEntry
Represents a file in the working tree