diff --git a/internal/restic/repository.go b/internal/restic/repository.go index 977950f59..e5f9bed02 100644 --- a/internal/restic/repository.go +++ b/internal/restic/repository.go @@ -63,6 +63,11 @@ type Repository interface { // StartWarmup creates a new warmup job, requesting the backend to warmup the specified packs. StartWarmup(ctx context.Context, packs IDSet) (WarmupJob, error) + + // MaxCapacityExceeded checks if repository capacity has been exceeded + MaxCapacityExceeded() bool + // IsRepositoryLimitActive checks if maximum repository size monitoring is active + IsRepositoryLimitActive() bool } type FileType = backend.FileType