aboutsummaryrefslogtreecommitdiff
path: root/objectstore/packed/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'objectstore/packed/store.go')
-rw-r--r--objectstore/packed/store.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/objectstore/packed/store.go b/objectstore/packed/store.go
index 61ccdb9a..fc3f57d4 100644
--- a/objectstore/packed/store.go
+++ b/objectstore/packed/store.go
@@ -11,6 +11,8 @@ import (
)
// Store reads Git objects from pack/index files under an objects/pack root.
+//
+// Store borrows its root. Cached pack/index mappings are retained until Close.
type Store struct {
// root is the borrowed objects/pack capability used for all file access.
root *os.Root