Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg struct { Run struct { InitCmds [][]string `toml:"init_cmds"` WatchAll bool `toml:"watch_all"` WatchDirs []string `toml:"watch_dirs"` WatchExts []string `toml:"watch_exts"` IgnoreDirs []string `toml:"ignore"` IgnoreFiles []string `toml:"ignore_files"` IgnoreRegexps []*regexp.Regexp `toml:"-"` BuildDelay int `toml:"build_delay"` InterruptTimeout int `toml:"interrupt_timout"` Cmds [][]string `toml:"cmds"` } `toml:"run"` Sync struct { ListenAddr string `toml:"listen_addr"` RemoteAddr string `toml:"remote_addr"` } `toml:"sync"` }
View Source
var (
WorkDir string
)
Functions ¶
func IgnoreFile ¶
IgnoreFile returns true if file path matches ignore regexp.
func InitSetting ¶
func InitSetting()
func UnpackPath ¶
UnpackPath replaces special path variables and returns full path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.