compose/pkg/watch/notify.go

13 lines
166 B
Go

package watch
type FileEvent struct {
Path string
}
type Notify interface {
Close() error
Add(name string) error
Events() chan FileEvent
Errors() chan error
}