Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { // Directory names the starting directory which the deleter will recursively inspect for old files. Directory string // MaxAgeInHours sets how old at least a file or directory must be before it will be selected for deletion. MaxAgeInHours int }
Args transports CLI parameters to the business package.
type Results ¶
type Results struct {
// contains filtered or unexported fields
}
Results keeps statistics about the deletion process.
func (*Results) PrintStats ¶
func (r *Results) PrintStats()
PrintStats prints deletion statistics as one-liner.
Click to show internal directories.
Click to hide internal directories.