mirror of
https://github.com/zhigang1992/cow.git
synced 2026-04-30 02:15:50 +08:00
22 lines
321 B
Go
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")
|
|
}
|