func (p *FileRemovalPolicy) RemoveUnknownDomains() ([]string, error) {
	return p.forEachDomainPath(func(folderPath string) ([]string, error) {
		if _, found := p.knownDomainFolders[folderPath]; !found {
			files, err := p.removeUnknownDomain(folderPath)
			p.telemetry.addFilesFromUnknownDomainCount(len(files))
			return files, err
		}
		return nil, nil
	})
}
// RemoveUnknownDomains remove unknown domains.
RemoveUnknownDomains remove unknown domains.
// RemoveUnknownDomains remove unknown domains .
func (p *FileRemovalPolicy) RemoveUnknownDomains() ([]string, error) {
	return p.forEachDomainPath(func(folderPath string) ([]string, error) {
		if _, found := p.knownDomainFolders[folderPath]; !found {
			files, err := p.removeUnknownDomain(folderPath)
			p.telemetry.addFilesFromUnknownDomainCount(len(files))
			return files, err
		}
		return nil, nil
	})
}
func ( p * FileRemovalPolicy ) RemoveUnknownDomains ( ) ( [ ] string , error ) { return p . forEachDomainPath ( func ( folderPath string ) ( [ ] string , error ) { if _ , found := p . knownDomainFolders [ folderPath ] ; ! found { files , err := p . removeUnknownDomain ( folderPath ) p . telemetry . addFilesFromUnknownDomainCount ( len ( files ) ) return files , err } return nil , nil } ) }
RemoveUnknownDomains remove unknown domains.
RemoveUnknownDomains remove unknown domains .