aboutsummaryrefslogtreecommitdiff
path: root/pack_idx.go
Commit message (Collapse)AuthorAgeFilesLines
* pack: Add _read to filenamesGravatar Runxi Yu2026-01-281-290/+0
|
* hash: Use a hashAlgorithmDetails struct for single source of truth v0.1.2Gravatar Runxi Yu2026-01-271-3/+3
| | | | | | hashAlgorithm's are assumed to be valid; methods on invalid hashAlgorithms will panic from out-of-bounds read when it's not found in hashAlgorithmTable and that's expected and intended.
* repo: Drop hashSize and use hashAlgo.size()Gravatar Runxi Yu2026-01-171-3/+3
|
* hash: Key by algorithm, not sizeGravatar Runxi Yu2026-01-171-2/+2
|
* Revert "Compute checksum when reading packfiles"Gravatar Runxi Yu2025-11-171-17/+0
| | | | | | | This reverts commit 1dcb92427c23d0a8b23c0154b892243c749afa5a. Yeah this should be part of the network protocol rather than being done on *every read*.
* Remove an unnecessary blank lineGravatar Runxi Yu2025-11-171-1/+0
|
* Compute checksum when reading packfilesGravatar Runxi Yu2025-11-171-0/+17
|
* Unexport Repository.HashSizeGravatar Runxi Yu2025-11-161-5/+5
|
* Make the API more consistentGravatar Runxi Yu2025-11-161-4/+4
|
* hash: Make fewer helper functions need explicit hash length fieldsGravatar Runxi Yu2025-11-161-2/+7
|
* Revert "hash: Generic hash-algorithm API"Gravatar Runxi Yu2025-11-161-22/+19
| | | | | | | This reverts commit 94bfb1fa147f80e6ec39009d41fc2f853925e0a5. Generics actually kinda suck for these purposes... once you look at it from the user's perspective.
* hash: Generic hash-algorithm APIGravatar Runxi Yu2025-11-161-19/+22
|
* Support multiple hash sizes in one buildGravatar Runxi Yu2025-11-161-4/+4
|
* Unexport PackLocationGravatar Runxi Yu2025-11-141-5/+5
|
* Initial commitGravatar Runxi Yu2025-11-131-0/+286