hashtree-fs

Crates.iohashtree-fs
lib.rshashtree-fs
version0.2.3
created_at2025-12-27 09:13:24.462316+00
updated_at2026-01-19 13:12:12.525279+00
descriptionFilesystem-based content-addressed blob storage for hashtree
homepagehttps://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree
repositoryhttps://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree
max_upload_size
id2006943
size64,196
Martti Malmi (mmalmi)

documentation

README

hashtree-fs

Filesystem-based content-addressed blob storage for hashtree.

Simple storage backend that stores blobs as files on disk, organized by hash prefix for efficient lookup.

Usage

use hashtree_fs::FsStore;
use hashtree_core::Store;

let store = FsStore::new("/path/to/data")?;

// Store a blob
store.put(&hash, &data)?;

// Retrieve a blob
let data = store.get(&hash)?;

Storage Layout

Blobs are stored in a directory structure based on hash prefix:

data/
  ab/
    abcd1234...
  cd/
    cdef5678...

Part of hashtree-rs.

Commit count: 0

cargo fmt