github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/model/instance/posix.go (about) 1 //go:build !windows 2 // +build !windows 3 4 package instance 5 6 // DirName returns the name of the subdirectory where instance data are stored. 7 // On Posix systems, it's the instance domain name. 8 func (i *Instance) DirName() string { 9 return i.Domain 10 }