all repos — homestead @ e4bdf0dd0740c21e89dd42413b7bc76da381fd37

Code for my website

internal/update/update.go (view raw)

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

import "github.com/fsnotify/fsnotify"

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

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