From 5260b87fd08f70df6f1eb297ccb04d74d32dd6c8 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 4 Sep 2018 18:26:59 +0200 Subject: plumbing/storer: do not expose Close in EncodedObjectStorer interface Signed-off-by: Javi Fontan --- plumbing/storer/object.go | 2 -- 1 file changed, 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 -- cgit