Phase 1.4: Blob Store (CAS) — sha256 内容寻址存储 #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
RFC-001 §8 定义了 CAS blob store:sense 存大对象时写 blob 拿 hash,db 里只存 hash 引用。
需求
1.
@uncaged/nerve-core新增 blob-store 模块存储结构:
data/blobs/ab/cd1234...(sha256 前 2 位为子目录)。2. 写入幂等
同一内容多次 put 返回同一 hash,文件只写一次。
3. 后续
将
BlobStore注入 compute 函数参数(不在本 issue)。验证
参考
docs/rfc-001-observation-engine.md§8