Documentation ¶
Index ¶
- type ChangeDetection
- type Control
- type Detection
- type Environment
- type Filter
- func (f *Filter) IsBuildDir(path string) (bool, error)
- func (f *Filter) IsExcludedDir(path string) (bool, error)
- func (f *Filter) IsExcludedFile(path string) (bool, error)
- func (f *Filter) IsHiddenDir(path string) bool
- func (f *Filter) IsIgnoredDir(path string) (bool, error)
- func (f *Filter) IsIgnoredExt(path string) bool
- func (f *Filter) IsIgnoredFile(path string) (bool, error)
- func (f *Filter) IsIncludedDir(dir string) (bool, error)
- func (f *Filter) IsLogDir(path string) (bool, error)
- type Notification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeDetection ¶
type ChangeDetection struct {
// contains filtered or unexported fields
}
func NewChangeDetection ¶
func NewChangeDetection(cfg *configuration.Configuration) (*ChangeDetection, error)
func (*ChangeDetection) Start ¶
func (c *ChangeDetection) Start()
func (*ChangeDetection) Stop ¶
func (c *ChangeDetection) Stop()
func (*ChangeDetection) Subscribe ¶
func (c *ChangeDetection) Subscribe(sub chan bool)
type Control ¶
type Control struct {
// contains filtered or unexported fields
}
func NewControl ¶
func NewControl(env *Environment, n *Notification) *Control
type Detection ¶
type Detection struct {
// contains filtered or unexported fields
}
func NewDetection ¶
func NewDetection(env *Environment, n *Notification) (*Detection, error)
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func NewEnvironment ¶
func NewEnvironment(cfg *configuration.Configuration) (*Environment, error)
func (*Environment) Run ¶
func (s *Environment) Run() error
func (*Environment) Teardown ¶
func (s *Environment) Teardown()
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func NewFilter ¶
func NewFilter(cfg *configuration.Configuration) *Filter
func (*Filter) IsHiddenDir ¶
func (*Filter) IsIgnoredExt ¶
type Notification ¶
type Notification struct {
// contains filtered or unexported fields
}
func NewNotification ¶
func NewNotification() *Notification
func NewSubscriberNotification ¶
func NewSubscriberNotification(sub chan bool) *Notification
func (*Notification) ChangeDetected ¶
func (n *Notification) ChangeDetected() chan bool
func (*Notification) NotfiyChange ¶
func (n *Notification) NotfiyChange()
func (*Notification) NotifyNoChange ¶
func (n *Notification) NotifyNoChange()
Click to show internal directories.
Click to hide internal directories.