func()

in fsevents.go [152:165]


func (es *EventStream) Start() {
	if es.Events == nil {
		es.Events = make(chan []Event)
	}

	// register eventstream in the local registry for later lookup
	// in C callback
	cbInfo := registry.Add(es)
	es.registryID = cbInfo
	if es.Device != 0 {
		es.uuid = GetDeviceUUID(es.Device)
	}
	es.start(es.Paths, cbInfo)
}