func (f *fen) Record(w *watched) {
	f.pthLkp[w.p] = w
}
Record implements trigger.
package notify
import (
	"fmt"
	"os"
	"syscall"
)
func newTrigger(pthLkp map[string]*watched) trigger {
	return &fen{
		pthLkp: pthLkp,
		cf:     newCfen(),
	}
}
type fen struct {
	p int
	pthLkp map[string]*watched
	cf cfen
}
type watched struct {
	trgWatched
}
func (f *fen) Stop() error {
	return f.cf.portAlert(f.p)
}
func (f *fen) Close() (err error) {
	return syscall.Close(f.p)
}
func (*fen) NewWatched(p string, fi os.FileInfo) (*watched, error) {
	return &watched{trgWatched{p: p, fi: fi}}, nil
}