SizeRestrictedPackageCache::reduceDirSizeTo
Delete items in this directory until the number of items is <= $count.
Delete the oldest files first.
Signature
protected function reduceDirSizeTo(string
$dir,
int
$count,
DeploynautLogFile
$log )
Parameters
$dir
— string- The directory to remove items from
$count
— int- The maximum number of .tar.gz files that can appear in that directory
$log
— DeploynautLogFile- The log to send removal status messages to