Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InstExecWhenStart = "exec-when-start" InstClearWhenExec = "clear-when-exec" InstShouldFinish = "should-finish" InstIgnoreWarn = "ignore-warn" InstIgnoreInfo = "ignore-info" InstIgnoreStdout = "ignore-stdout" InstIgnoreExecError = "ignore-exec-error" )
View Source
var ( ProjectFolder = "." YamlName = "ikufile.yaml" YamlPath = "" IoeventMapStr = map[fsnotify.Op]string{ fsnotify.Write: "write", fsnotify.Rename: "rename", fsnotify.Remove: "remove", fsnotify.Create: "create", fsnotify.Chmod: "chmod", } Cfg *FileIku )
View Source
var ( Logo = `` /* 215-byte string literal not displayed */ Statement = `iKurum [cyan@ikurum.cn] Open Source with MIT License` VersionDesc = `` /* 243-byte string literal not displayed */ FirstRunHelp = `第一次运行 ikufile ? 你可能需要先执行 ikufile init 生成配置。 更多信息使用 ikufile help 查看帮助 ` HelpStr = `` /* 684-byte string literal not displayed */ ExampleFileGirl string = `` /* 4258-byte string literal not displayed */ )
Functions ¶
func GetPidFile ¶
func GetPidFile() string
Types ¶
type FileIku ¶
type FileIku struct { Monitor struct { Types []string `yaml:"types"` IncludeDirs []string `yaml:"includeDirs"` ExceptDirs []string `yaml:"exceptDirs"` Events []string `yaml:"events"` TypesMap map[string]bool `yaml:"-"` IncludeDirsMap map[string]bool `yaml:"-"` ExceptDirsMap map[string]bool `yaml:"-"` DirsMap map[string]bool `yaml:"-"` IncludeDirsRec map[string]bool `yaml:"-"` } Command struct { Exec []string `yaml:"exec"` DelayMillSecond int `yaml:"delayMillSecond"` } Notifier struct { CallUrl string `yaml:"callUrl"` } Instruction []string `yaml:"instruction"` InstructionMap map[string]bool `yaml:"-"` }
Click to show internal directories.
Click to hide internal directories.