Artifact 9700517602f0f539169b2f23f35a4d80b1f0f210d732817b4e479175ee0bb0ac:
- File
repo_content_cache_test.go
-
2026-10-26 14:05:59
— part of check-in
[af6431af27]
on branch main
— test: consolidate root white-box tests by source file
Merge the root package's white-box test files so each mirrors the source file it exercises (checkout, fossil, horizon, repo_checkout, repo_history, repo_merge, repo_sync, repo_ticket, repo_extras, required_content, transport), and rename single files to match their source (repo_content_cache_test.go, repo_admin_test.go, required_content_checkout_test.go). Test bodies are unchanged; only imports are consolidated. (user: [email protected], size: 11194) [annotate] [blame] [check-ins using]
-
2026-10-26 14:45:10
— part of check-in
[b4ac68be08]
on branch main
— Merge pull request #513 from danmestas/test/organize-root-tests
test: move black-box tests to apitest/, consolidate root tests by source file (user: [email protected], size: 11194) [annotate] [blame] [check-ins using]
-
2026-10-26 14:05:59
— part of check-in
[af6431af27]
on branch main
— test: consolidate root white-box tests by source file
- File
repo_read_blob_test.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: 11194) [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: 11194) [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