Files
athens/pkg/storage/deleter.go
Marwan Sulaiman 90281ccb90 Athens: move storage.NotFound to errors.NotFound (#373)
* Athens: move storage.NotFound to errors.NotFound

* see where things went wrong

* empty means unexpected

* GCP: replace AlreadyExists err

* resolve conflicts

* Errors: change not found name

* fix build
2018-08-01 03:27:16 -04:00

11 lines
267 B
Go

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