| Crates.io | hashtree-fs |
| lib.rs | hashtree-fs |
| version | 0.2.3 |
| created_at | 2025-12-27 09:13:24.462316+00 |
| updated_at | 2026-01-19 13:12:12.525279+00 |
| description | Filesystem-based content-addressed blob storage for hashtree |
| homepage | https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree |
| repository | https://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree |
| max_upload_size | |
| id | 2006943 |
| size | 64,196 |
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.
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)?;
Blobs are stored in a directory structure based on hash prefix:
data/
ab/
abcd1234...
cd/
cdef5678...
Part of hashtree-rs.