forked from TrueCloudLab/restic
Split struct members, add comments
This commit is contained in:
parent
095155d9ce
commit
aff1e220f5
1 changed files with 9 additions and 6 deletions
|
@ -37,12 +37,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
|
||||||
|
|
||||||
// PruneOptions collects all options for the cleanup command.
|
// PruneOptions collects all options for the cleanup command.
|
||||||
type PruneOptions struct {
|
type PruneOptions struct {
|
||||||
DryRun bool
|
DryRun bool
|
||||||
MaxUnused string
|
|
||||||
MaxUnusedPercent float64
|
MaxUnused string
|
||||||
MaxUnusedBytes uint64
|
MaxUnusedPercent float64 // set if MaxUnused is a percentage
|
||||||
MaxRepackSize string
|
MaxUnusedBytes uint64 // set if MaxUnused is an absolute number of bytes
|
||||||
MaxRepackBytes uint64
|
|
||||||
|
MaxRepackSize string
|
||||||
|
MaxRepackBytes uint64
|
||||||
|
|
||||||
RepackCachableOnly bool
|
RepackCachableOnly bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue