Index | Files

package fakefsnotify

import ""

Package fakefsnotify provides just enough of a mock of in order to build Obviously the 'gopherjs serve' command (which normally relies on fsnotify) is not expected to work when gopherjs is built with fakefsnotify.


Package Files



const (
    Create = iota
    Write  = iota
    Remove = iota
    Rename = iota

type FakeEvent Uses

type FakeEvent struct {
    Op   int
    Name string

type Watcher Uses

type Watcher struct {
    Events chan FakeEvent
    Errors chan error

func NewWatcher Uses

func NewWatcher() (*Watcher, error)

func (*Watcher) Add Uses

func (fw *Watcher) Add(packagePath string)

func (*Watcher) Close Uses

func (fw *Watcher) Close() error

Updated 2018-01-21. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).