func (p *FileRemovalPolicy) RegisterDomain(domainName string) (string, error) {
	folder, err := p.getFolderPathForDomain(domainName)
	if err != nil {
		return "", err
	}

	p.telemetry.addRegisteredDomainCount()
	p.knownDomainFolders[folder] = struct{}{}
	return folder, nil
}
// RegisterDomain registers a domain name.
RegisterDomain registers a domain name.
// RegisterDomain registers a domain name .
func (p *FileRemovalPolicy) RegisterDomain(domainName string) (string, error) {
	folder, err := p.getFolderPathForDomain(domainName)
	if err != nil {
		return "", err
	}
	p.telemetry.addRegisteredDomainCount()
	p.knownDomainFolders[folder] = struct{}{}
	return folder, nil
}
func ( p * FileRemovalPolicy ) RegisterDomain ( domainName string ) ( string , error ) { folder , err := p . getFolderPathForDomain ( domainName ) if err != nil { return " " , err } p . telemetry . addRegisteredDomainCount ( ) p . knownDomainFolders [ folder ] = struct { } { } return folder , nil }
RegisterDomain registers a domain name.
RegisterDomain registers a domain name .