Files
athens/pkg/storage/deleter.go
Tyler Bui-Palsulich 27bbc3f42f storage: add context to storage.Exists and storage.Delete (#322)
* storage: add context to storage.Exists and storage.Delete

* eventlog: use context.TODO()

* storage/gcp: reuse ctx
2018-07-24 17:12:31 -05:00

11 lines
274 B
Go

package storage
import "context"
// Deleter deletes module metadata and its source from underlying storage
type Deleter interface {
// Delete must return ErrVersionNotFound if the module/version are not
// found.
Delete(ctx context.Context, module, vsn string) error
}