aboutsummaryrefslogtreecommitdiff
path: root/object/fetch
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-08 07:03:29 +0000
committerGravatar Runxi Yu2026-06-08 07:03:29 +0000
commita159e517a20be53f691545f6ffcf3d0b5271c572 (patch)
tree3cf65be3679e2051784d61ea57bb4ceeb6707c17 /object/fetch
parentREFACTOR: errors is in errs (diff)
object/fetch: Begin by adding package doc
Diffstat (limited to 'object/fetch')
-rw-r--r--object/fetch/doc.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/object/fetch/doc.go b/object/fetch/doc.go
new file mode 100644
index 00000000..b5c66f50
--- /dev/null
+++ b/object/fetch/doc.go
@@ -0,0 +1,11 @@
+// Package fetch loads typed Git objects from object storage
+// and provides higher-level object queries.
+//
+// Fetching is above [objectstore]:
+// it parses stored objects
+// into blobs, trees, commits, and tags,
+// exposes object metadata,
+// peels tree-ish or commit-ish objects,
+// resolves paths within trees,
+// and can expose one tree as an [io/fs].
+package fetch