watcher

package
v0.0.0-...-65feeac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2013 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner(fs contract.FileSystem, watcher contract.Watcher) *Scanner

func (*Scanner) Scan

func (self *Scanner) Scan() bool

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(fs contract.FileSystem, shell contract.Shell) *Watcher

func (*Watcher) Adjust

func (self *Watcher) Adjust(root string) error

func (*Watcher) Creation

func (self *Watcher) Creation(folder string)

func (*Watcher) Deletion

func (self *Watcher) Deletion(folder string)

func (*Watcher) Ignore

func (self *Watcher) Ignore(packageName string)

func (*Watcher) IsIgnored

func (self *Watcher) IsIgnored(folder string) bool

func (*Watcher) IsWatched

func (self *Watcher) IsWatched(folder string) bool

func (*Watcher) Reinstate

func (self *Watcher) Reinstate(packageName string)

func (*Watcher) Root

func (self *Watcher) Root() string

func (*Watcher) WatchedFolders

func (self *Watcher) WatchedFolders() []*contract.Package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL