aboutsummaryrefslogtreecommitdiff
path: root/objectstore/packed/store.go
Commit message (Expand)AuthorAgeFilesLines
* objectstore: Refresh•••* Add manual Refresh for various objectstore's * RefreshPolicy option * Refreshable MRU and atomic snapshotting v0.1.80Gravatar Runxi Yu2026-03-081-14/+15
* objectstore/packed: Split filesGravatar Runxi Yu2026-03-061-65/+0
* *: Fix lints v0.1.43Gravatar Runxi Yu2026-03-041-0/+1
* objectstore/packed: SplitGravatar Runxi Yu2026-03-041-142/+0
* *: LintGravatar Runxi Yu2026-03-041-10/+54
* objectstore/packed: Check pack/idx checksums here.•••We previously had helpers in format/pack/checksum that checks .pack/.idx-related checksums with []byte-based APIs. But it only really makes sense to use those []byte-based APIs on mmap's (otherwise it'd be horribly inefficient). Since the packed object-store only needs to check that the .pack and .idx trailer match, we move the relevant part into objectstore/packed. The rest are deleted for now; we'll definitely need a streaming version for the pack verification (when ingesting packfiles from the network) (though we might just make it a streaming API (writer? reader? not decided yet) that *produces* a hash, then verify it in the caller; this way we could reuse the function in the pack-producing routines). The others might get the []byte-based APIs back, or perhaps they too get streaming APIs. Remember that "reading objects from a packed object store", "creating/writing packfiles", and "ingesting an incoming pack (which usually involves creating an .idx for it)", are all very different tasks. Gravatar Runxi Yu2026-03-031-2/+1
* objectstore/packed: Optimize pack candidate lookup and lockingGravatar Runxi Yu2026-02-211-15/+29
* objectstore/packed: Lazily parse idx metadataGravatar Runxi Yu2026-02-211-53/+38
* objectstore/packed: Verify that the index matches the packGravatar Runxi Yu2026-02-211-0/+33
* repository, {ref,object}store: Make stores own their rootsGravatar Runxi Yu2026-02-211-6/+7
* *: Update doc-comments v0.1.13Gravatar Runxi Yu2026-02-211-1/+1
* objectstore/packed: Add initial pack reading supportGravatar Runxi Yu2026-02-211-0/+182