adopt Task API: infect datastructures

refs #10
This commit is contained in:
Christian Schwarz
2017-12-26 19:36:27 +01:00
parent ce351146cf
commit 58ee796394
8 changed files with 54 additions and 15 deletions

View File

@ -63,7 +63,7 @@ type PrunePolicy interface {
}
type PruningJob interface {
Pruner(side PrunePolicySide, dryRun bool) (Pruner, error)
Pruner(task *Task, side PrunePolicySide, dryRun bool) (Pruner, error)
}
// A type for constants describing different prune policies of a PruningJob