aboutsummaryrefslogtreecommitdiff
path: root/format
Commit message (Collapse)AuthorAgeFilesLines
* format/commitgraph: Split layer filesGravatar Runxi Yu2026-03-067-209/+238
|
* format/commitgraph: Add initial commit-graph supportGravatar Runxi Yu2026-03-0682-24/+1861
|
* format/pack/ingest: Actually we could just use algo.String() hereGravatar Runxi Yu2026-03-061-12/+1
|
* format/commitgraph/bloom: Add commit-graph bloom filtersGravatar Runxi Yu2026-03-068-0/+320
|
* *: Add some more package-level docs v0.1.53Gravatar Runxi Yu2026-03-061-0/+2
|
* format/pack/ingest: Fix minLen/min lint v0.1.49Gravatar Runxi Yu2026-03-051-6/+6
|
* *: I guess os.Root is alright for tests too *shrug*Gravatar Runxi Yu2026-03-051-6/+44
|
* *: Fix various lintsGravatar Runxi Yu2026-03-052-57/+57
|
* *: Fix wsl_v5 againGravatar Runxi Yu2026-03-053-0/+5
|
* format/pack/ingest: Fix exhaustiveGravatar Runxi Yu2026-03-053-1/+18
|
* *: Fix overflowsGravatar Runxi Yu2026-03-056-18/+106
|
* objectid, format/pack/ingest: Pack hash ID in algoGravatar Runxi Yu2026-03-051-15/+1
|
* *: Fix lintsGravatar Runxi Yu2026-03-059-55/+121
|
* *: Fix lint wsl_v5Gravatar Runxi Yu2026-03-0510-0/+149
|
* format/pack/ingest: Use fixed fixturesGravatar Runxi Yu2026-03-059-88/+84
|
* format/pack/ingest: Improve trailer stuffGravatar Runxi Yu2026-03-055-163/+215
|
* format/pack/ingest: Temporary file purgingGravatar Runxi Yu2026-03-051-7/+18
|
* format/pack/ingest: That was silly, obviously just use the ObjectIDGravatar Runxi Yu2026-03-054-12/+13
|
* format/pack/ingest: Optimize writesGravatar Runxi Yu2026-03-052-4/+21
|
* format/pack/ingest: InitGravatar Runxi Yu2026-03-0517-0/+2053
|
* *: Add package-level docs v0.1.44Gravatar Runxi Yu2026-03-041-0/+2
|
* *: LintGravatar Runxi Yu2026-03-044-0/+51
|
* objectstore/packed: Check pack/idx checksums here.Gravatar Runxi Yu2026-03-031-108/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* format/delta/apply, etc.: ReadHeaderSizes should use ByteReaderGravatar Runxi Yu2026-02-221-30/+23
|
* format/pack/checksum: Move things about pack trailers hereGravatar Runxi Yu2026-02-211-0/+108
|
* objectstore/packed: Use constants/functions from format/packGravatar Runxi Yu2026-02-211-0/+64
|
* format/pack: Extract general constants and such from objectstore/packedGravatar Runxi Yu2026-02-212-0/+96
|
* format/delta/apply: Move core delta apply algorithm hereGravatar Runxi Yu2026-02-212-0/+176