Documentation
¶
Index ¶
- type Cmd
- type Cmds
- type CommandSet
- type EmptyCmd
- type Event
- type FileName
- type GlobalCommandSet
- type GlobalLifeCycle
- type Millisecond
- type MultiLineCmd
- type Operation
- type Path
- type PathSuffix
- type PathSuffixes
- type Paths
- type SingleCmd
- type StructuredCmd
- type WatchTargetsCommandSet
- type WatchTargetsCommandSets
- type WatchTargetsLifeCycle
- type WatchTargetsOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandSet ¶
type CommandSet struct { Global GlobalCommandSet WatchTargets WatchTargetsCommandSets }
type Event ¶
func NewEventByFsnotify ¶
type GlobalCommandSet ¶
type GlobalCommandSet struct {
LifeCycle GlobalLifeCycle
}
type GlobalLifeCycle ¶
type Millisecond ¶
type Millisecond uint
func (Millisecond) Duration ¶
func (m Millisecond) Duration() time.Duration
type MultiLineCmd ¶
type MultiLineCmd struct {
Cmds []SingleCmd
}
func (MultiLineCmd) Run ¶
func (m MultiLineCmd) Run(runDir Path) error
type PathSuffix ¶
type PathSuffix string
func (PathSuffix) Contain ¶
func (s PathSuffix) Contain(input Path) bool
type PathSuffixes ¶
type PathSuffixes []PathSuffix
func (PathSuffixes) Contain ¶
func (s PathSuffixes) Contain(input Path) bool
type StructuredCmd ¶
func (StructuredCmd) Run ¶
func (s StructuredCmd) Run(_ Path) error
type WatchTargetsCommandSet ¶
type WatchTargetsCommandSet struct { Path Path LifeCycle WatchTargetsLifeCycle Option WatchTargetsOption }
type WatchTargetsCommandSets ¶
type WatchTargetsCommandSets []WatchTargetsCommandSet
type WatchTargetsLifeCycle ¶
type WatchTargetsOption ¶
type WatchTargetsOption struct { ExcludeDir Paths ExcludeSuffix PathSuffixes WaitMillisecond Millisecond }
Click to show internal directories.
Click to hide internal directories.