Split struct members, add comments

This commit is contained in:
Alexander Neumann 2020-11-03 11:14:53 +01:00
parent 095155d9ce
commit aff1e220f5

View file

@ -38,11 +38,14 @@ 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 MaxUnused string
MaxUnusedPercent float64 MaxUnusedPercent float64 // set if MaxUnused is a percentage
MaxUnusedBytes uint64 MaxUnusedBytes uint64 // set if MaxUnused is an absolute number of bytes
MaxRepackSize string MaxRepackSize string
MaxRepackBytes uint64 MaxRepackBytes uint64
RepackCachableOnly bool RepackCachableOnly bool
} }