aboutsummaryrefslogtreecommitdiff
path: root/format
Commit message (Expand)AuthorAgeFilesLines
* *: Lint v0.1.68Gravatar Runxi Yu2026-03-0629-143/+137
* format/pktline: FormatGravatar Runxi Yu2026-03-0616-16/+16
* format/sideband64k: LintGravatar Runxi Yu2026-03-0612-21/+82
* format/sideband64k: Add side-band-64k v0.1.66Gravatar Runxi Yu2026-03-0627-0/+1071
* format/pktline: Add package-level doc string v0.1.65Gravatar Runxi Yu2026-03-061-0/+2
* format/pktline: Advise supplying a buffered reader v0.1.64Gravatar Runxi Yu2026-03-061-0/+2
* format/pktline: Add pktline v0.1.62Gravatar Runxi Yu2026-03-0625-0/+1184
* *: go fix ./...Gravatar Runxi Yu2026-03-062-12/+3
* format/pack/ingest: I don't think we need to use a clone there v0.1.61Gravatar Runxi Yu2026-03-061-4/+4
* format/commitgraph: Add package-level doc commentsGravatar Runxi Yu2026-03-062-0/+4
* format/commitgraph: Split into ./read and ./ v0.1.60Gravatar Runxi Yu2026-03-0685-83/+89
* format/pack/ingest: Fix delta apply import v0.1.59Gravatar Runxi Yu2026-03-061-0/+1
* format/commitgraph: Split filesGravatar Runxi Yu2026-03-063-149/+165
* format/pack/ingest: Split filesGravatar Runxi Yu2026-03-0630-1067/+1196
* 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.•••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-108/+0
* 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