processEvent is here to process the event in the `*Unpackerr` scope before sending it back to the `*Folders` scope.
(event *eventData, now time.Time)
| 494 | |
| 495 | // processEvent is here to process the event in the `*Unpackerr` scope before sending it back to the `*Folders` scope. |
| 496 | func (u *Unpackerr) processEvent(event *eventData, now time.Time) { |
| 497 | // Do not watch our own log file. |
| 498 | if event.file == u.Config.LogFile || event.file == u.Config.Webserver.LogFile { |
| 499 | return |
| 500 | } |
| 501 | |
| 502 | u.folders.processEvent(event, now) |
| 503 | } |
| 504 | |
| 505 | // processEvent processes the event that was received. |
| 506 | func (f *Folders) processEvent(event *eventData, now time.Time) { |