Artifact b1d72e127d15250e40330f15125d30be003500ed514a6e8baacb15ec6b4b96cc:
- File
internal/manifest/parsed_memo.go
-
2026-10-25 23:10:47
— part of check-in
[d367012009]
on branch feat/read-blob-content-cache
— feat: read an artifact by hash and cache content on Repo
Repo.ReadBlob expands one artifact by its full hash after the availability check ReadFile applies, and names an unknown hash with ErrArtifactNotFound.
Repo.SetContentCache attaches a byte-bounded content.Cache that ReadFile, ReadFileAt, ReadBlob, ListFiles, Diff and Annotate share; check-in parses are kept in its derived memo, so reads at one check-in parse the manifest once. Default off. A read that finds the DB's finished-write count moved swaps in an empty cache, so a purged, compacted or elided artifact, and a rid SQLite reuses after a purge, is never served from it. Writes by another process are not seen; the method's doc says so.
Tracked in #492. (user: [email protected], size: 3654) [annotate] [blame] [check-ins using]
-
2026-10-25 23:28:49
— part of check-in
[5e882bf1f1]
on branch main
— Merge pull request #496 from danmestas/feat/read-blob-content-cache
feat: read an artifact by hash and cache content on Repo (user: [email protected], size: 3654) [annotate] [blame] [check-ins using]
-
2026-10-25 23:10:47
— part of check-in
[d367012009]
on branch feat/read-blob-content-cache
— feat: read an artifact by hash and cache content on Repo