aboutsummaryrefslogtreecommitdiff
path: root/refs.go
Commit message (Expand)AuthorAgeFilesLines
* hash: Use a hashAlgorithmDetails struct for single source of truth•••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. v0.1.2Gravatar Runxi Yu2026-01-271-2/+2
* refs: ResolveRefFully should return a Ref rather than a Hash v0.1.0Gravatar Runxi Yu2026-01-251-7/+7
* repo: Drop hashSize and use hashAlgo.size()Gravatar Runxi Yu2026-01-171-2/+2
* refs: Clarify how annotated tags are not peeledGravatar Runxi Yu2025-11-251-1/+1
* refs: Merge NamedRef into Ref; add ShortGravatar Runxi Yu2025-11-251-28/+125
* refs: Rename ListRef to NamedRefGravatar Runxi Yu2025-11-251-6/+6
* refs: Fix blank line in commentGravatar Runxi Yu2025-11-251-1/+1
* refs: Rename ShowRefs -> ListRefsGravatar Runxi Yu2025-11-251-7/+7
* refs: Add ShowRefsGravatar Runxi Yu2025-11-251-0/+148
* refs: Support resolving hashes as refsGravatar Runxi Yu2025-11-201-0/+8
* refs: ResolveRef and ResolveRefFully, no HEAD splitGravatar Runxi Yu2025-11-201-57/+156
* refs: resolvePackedRef shall return ErrNotFound when not finding refsGravatar Runxi Yu2025-11-171-2/+2
* Use actual git for tests and enhance HeadGravatar Runxi Yu2025-11-161-12/+36
* Documentation overhaulGravatar Runxi Yu2025-11-161-1/+2
* Unexport Repository.HashSizeGravatar Runxi Yu2025-11-161-1/+1
* hash: Make fewer helper functions need explicit hash length fieldsGravatar Runxi Yu2025-11-161-2/+2
* Revert "hash: Generic hash-algorithm API"•••This reverts commit 94bfb1fa147f80e6ec39009d41fc2f853925e0a5. Generics actually kinda suck for these purposes... once you look at it from the user's perspective. Gravatar Runxi Yu2025-11-161-17/+16
* hash: Generic hash-algorithm APIGravatar Runxi Yu2025-11-161-16/+17
* Support multiple hash sizes in one buildGravatar Runxi Yu2025-11-161-3/+3
* Initial commitGravatar Runxi Yu2025-11-131-0/+94