aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-09-04 18:26:59 +0200
committerJavi Fontan <jfontan@gmail.com>2018-09-04 18:26:59 +0200
commit5260b87fd08f70df6f1eb297ccb04d74d32dd6c8 (patch)
tree38d2c899c40d81e882268b1b7e74071293806264
parent6384ab93a2dbac9045ee19099455cbcfe82d0201 (diff)
downloadgo-git-5260b87fd08f70df6f1eb297ccb04d74d32dd6c8.tar.gz
plumbing/storer: do not expose Close in EncodedObjectStorer interface
Signed-off-by: Javi Fontan <jfontan@gmail.com>
-rw-r--r--plumbing/storer/object.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plumbing/storer/object.go b/plumbing/storer/object.go
index 806b6bb..92aa629 100644
--- a/plumbing/storer/object.go
+++ b/plumbing/storer/object.go
@@ -40,8 +40,6 @@ type EncodedObjectStorer interface {
// HasEncodedObject returns ErrObjNotFound if the object doesn't
// exist. If the object does exist, it returns nil.
HasEncodedObject(plumbing.Hash) error
- // Close any opened files.
- Close() error
}
// DeltaObjectStorer is an EncodedObjectStorer that can return delta