diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-09-04 18:26:59 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-09-04 18:26:59 +0200 |
commit | 5260b87fd08f70df6f1eb297ccb04d74d32dd6c8 (patch) | |
tree | 38d2c899c40d81e882268b1b7e74071293806264 | |
parent | 6384ab93a2dbac9045ee19099455cbcfe82d0201 (diff) | |
download | go-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.go | 2 |
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 |