Add adds a file to start watching
(filepath string)
| 25 | |
| 26 | // Add adds a file to start watching |
| 27 | func (f *File) Add(filepath string) error { |
| 28 | return f.watcher.Add(filepath) |
| 29 | } |
| 30 | |
| 31 | // Shutdown stop the file watching run loop |
| 32 | func (f *File) Shutdown() { |