// +build linux darwin

package instance

// DirName returns the name of the subdirectory where instance data are stored.
// On Posix systems, it's the instance domain name.
func (i *Instance) DirName() string {
	return i.Domain
}

// +build !windows

package instance

// DirName returns the name of the subdirectory where instance data are stored.
// On Posix systems, it's the instance domain name.
func (i *Instance) DirName() string {
	return i.Domain
}

Fix building cozy-stack on FreeBSD, again
Fix building cozy-stack on FreeBSD, again

Fix needed with the one from #1046