mirror of
https://github.com/zhigang1992/cow.git
synced 2026-05-12 11:51:03 +08:00
22 lines
317 B
Go
22 lines
317 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()
|
|
dsFile.dir = path.Join(home, ".cow")
|
|
}
|