Correctly delete files when specified (#2804)

This commit is contained in:
WithoutPants
2022-08-08 10:48:02 +10:00
parent 5843fdcecc
commit c825cf5d09
6 changed files with 50 additions and 22 deletions

View File

@@ -177,6 +177,11 @@ type Destroyer interface {
Destroy(ctx context.Context, id ID) error
}
type GetterDestroyer interface {
Getter
Destroyer
}
// Store provides methods to find, create and update Files.
type Store interface {
Getter