aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/path.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/path.go
parentobject/{blob,commit,tag}: Update docs (diff)
signatureNo signature
object/fetch: Update docs and rename resolver->fetcher
Diffstat (limited to 'object/fetch/path.go')
-rw-r--r--object/fetch/path.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/fetch/path.go b/object/fetch/path.go
index f26379c3..e3c468db 100644
--- a/object/fetch/path.go
+++ b/object/fetch/path.go
@@ -59,6 +59,8 @@ func (err *PathNotTreeError) Error() string {
//
// If your entry names are valid UTF-8 and uses / solely as segment separators,
// it may be convenient to use TreeFS for an io/fs.FS-like interface.
+//
+// Labels: Life-Parent.
func (r *Fetcher) Path(root objectid.ObjectID, parts [][]byte) (tree.TreeEntry, error) {
if len(parts) == 0 {
return tree.TreeEntry{}, &PathEmptyError{}