aboutsummaryrefslogtreecommitdiff
path: root/repo_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Delete everything, I'm redesigning this.Gravatar Runxi Yu2026-02-201-49/+0
| | | | | I'll stop using a flat package and make things much more modular. And also experiment with streaming APIs so large blobs don't OOM us.
* hash: Use a hashAlgorithmDetails struct for single source of truth v0.1.2Gravatar Runxi Yu2026-01-271-1/+1
| | | | | | 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-2/+3
|
* Use actual git for tests and enhance HeadGravatar Runxi Yu2025-11-161-514/+23
|
* Separate stored object types from types that the user is expected to construct.Gravatar Runxi Yu2025-11-161-10/+10
|
* Rename ObjType enumGravatar Runxi Yu2025-11-161-10/+10
|
* Unexport Repository.HashSizeGravatar Runxi Yu2025-11-161-2/+2
|
* Rename ObjType -> ObjectTypeGravatar Runxi Yu2025-11-161-1/+1
|
* Add basic support for parsing configuration filesGravatar Runxi Yu2025-11-161-7/+40
| | | | Now support for switching hash algorithms should be complete!
* hash: Make fewer helper functions need explicit hash length fieldsGravatar Runxi Yu2025-11-161-12/+14
|
* Revert "hash: Generic hash-algorithm API"Gravatar Runxi Yu2025-11-161-38/+37
| | | | | | | 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-37/+38
|
* Support multiple hash sizes in one buildGravatar Runxi Yu2025-11-161-17/+17
|
* Loose object writing draftGravatar Runxi Yu2025-11-151-28/+114
|
* Read types and sizes without inflating entire objectGravatar Runxi Yu2025-11-141-0/+296
|
* Initial commitGravatar Runxi Yu2025-11-131-0/+122