aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/decoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/format/packfile/decoder.go')
-rw-r--r--plumbing/format/packfile/decoder.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/packfile/decoder.go b/plumbing/format/packfile/decoder.go
index 24493ec..dc39bf1 100644
--- a/plumbing/format/packfile/decoder.go
+++ b/plumbing/format/packfile/decoder.go
@@ -89,9 +89,9 @@ func NewDecoder(s *Scanner, o storer.EncodedObjectStorer) (*Decoder, error) {
// the specified one, nil will be returned. This is intended to avoid the content
// deserialization of all the objects.
//
-// cacheObject is an ObjectLRU that is used to speed up the process. If cache
-// is not needed you can pass nil. To create a cache object with the default
-// size you an use the helper cache.ObjectLRUDefault().
+// cacheObject is a cache.Object implementation that is used to speed up the
+// process. If cache is not needed you can pass nil. To create an LRU cache
+// object with the default size you can use the helper cache.ObjectLRUDefault().
func NewDecoderForType(s *Scanner, o storer.EncodedObjectStorer,
t plumbing.ObjectType, cacheObject cache.Object) (*Decoder, error) {