mirror of
https://github.com/zhigang1992/cow.git
synced 2026-01-12 17:12:57 +08:00
21 lines
303 B
Go
21 lines
303 B
Go
// +build darwin freebsd linux netbsd openbsd
|
|
|
|
package main
|
|
|
|
import (
|
|
"path"
|
|
)
|
|
|
|
const (
|
|
rcFname = "rc"
|
|
blockedFname = "blocked"
|
|
directFname = "direct"
|
|
statFname = "stat"
|
|
|
|
newLine = "\n"
|
|
)
|
|
|
|
func getDefaultRcFile() string {
|
|
return path.Join(path.Join(getUserHomeDir(), ".cow", rcFname))
|
|
}
|