Files
cow/config_unix.go
2013-12-20 11:36:04 +08:00

22 lines
321 B
Go

// +build darwin freebsd linux netbsd openbsd
package main
import (
"path"
)
const (
rcFname = "rc"
alwaysBlockedFname = "blocked"
alwaysDirectFname = "direct"
statFname = "stat"
newLine = "\n"
)
func initConfigDir() {
home := getUserHomeDir()
configPath.dir = path.Join(home, ".cow")
}