From 3f0b1ff37b64108cfed1b57ea4ae1f1566592905 Mon Sep 17 00:00:00 2001 From: Taru Karttunen Date: Mon, 6 Nov 2017 13:30:42 +0200 Subject: Address CI and move code around --- plumbing/storer/object.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plumbing') diff --git a/plumbing/storer/object.go b/plumbing/storer/object.go index 5d043cb..bd34be8 100644 --- a/plumbing/storer/object.go +++ b/plumbing/storer/object.go @@ -43,10 +43,12 @@ type EncodedObjectStorer interface { // ForEachObjectHash iterates over all the (loose) object hashes // in the repository without necessarily having to read those objects. // Objects only inside pack files may be omitted. + // If ErrStop is sent the iteration is stop but no error is returned. ForEachObjectHash(func(plumbing.Hash) error) error // LooseObjectTime looks up the (m)time associated with the - // loose object (that is not in a pack file). Implementations - // may + // loose object (that is not in a pack file). Some + // implementations (e.g. without loose objects) + // always return an error. LooseObjectTime(plumbing.Hash) (time.Time, error) // DeleteLooseObject deletes a loose object if it exists. DeleteLooseObject(plumbing.Hash) error -- cgit