func (p *FileRemovalPolicy) RemoveOutdatedFiles() ([]string, error) {
	return p.forEachDomainPath(func(folderPath string) ([]string, error) {
		files, err := p.removeOutdatedRetryFiles(folderPath)
		p.telemetry.addOutdatedFilesCount(len(files))
		return files, err
	})
}
// RemoveOutdatedFiles removes the outdated files when a file is
// older than outDatedFileDayCount days.
RemoveOutdatedFiles removes the outdated files when a file is
older than outDatedFileDayCount days.
// RemoveOutdatedFiles removes the outdated files when a file is // older than outDatedFileDayCount days .
func (p *FileRemovalPolicy) RemoveOutdatedFiles() ([]string, error) {
	return p.forEachDomainPath(func(folderPath string) ([]string, error) {
		files, err := p.removeOutdatedRetryFiles(folderPath)
		p.telemetry.addOutdatedFilesCount(len(files))
		return files, err
	})
}
func ( p * FileRemovalPolicy ) RemoveOutdatedFiles ( ) ( [ ] string , error ) { return p . forEachDomainPath ( func ( folderPath string ) ( [ ] string , error ) { files , err := p . removeOutdatedRetryFiles ( folderPath ) p . telemetry . addOutdatedFilesCount ( len ( files ) ) return files , err } ) }
RemoveOutdatedFiles removes the outdated files when a file is
older than outDatedFileDayCount days.
RemoveOutdatedFiles removes the outdated files when a file is older than outDatedFileDayCount days .