aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/exact_commit.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 16:46:30 +0000
committerGravatar Runxi Yu2026-03-28 16:46:30 +0000
commitf87db5f65f61709a44e111fc47bfbb0865b2067b (patch)
treed2da282f2df4596784692bf47b1f1efd8c4e2714 /object/fetch/exact_commit.go
parentobject/{blob,commit,tag}: Update docs (diff)
signatureNo signature
object/fetch: Update docs and rename resolver->fetcher
Diffstat (limited to 'object/fetch/exact_commit.go')
-rw-r--r--object/fetch/exact_commit.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/fetch/exact_commit.go b/object/fetch/exact_commit.go
index d3f9dee1..1b330e7d 100644
--- a/object/fetch/exact_commit.go
+++ b/object/fetch/exact_commit.go
@@ -9,6 +9,8 @@ import (
)
// ExactCommit reads, parses, and wraps the commit at id.
+//
+// Labels: Life-Parent.
func (r *Fetcher) ExactCommit(id objectid.ObjectID) (*stored.Stored[*commit.Commit], error) {
parsed, err := r.parseObject(id)
if err != nil {