all repos — homestead @ a7628f8431b184a695c49cbc1085428523e41504

Code for my website

internal/events/update.go (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
package events

import "github.com/fsnotify/fsnotify"

type Listener interface {
	Wait(chan<- Event, chan<- error) error
}

type Event struct {
	FileEvents []fsnotify.Event
	Revision   string
}