----- dirWatch: per-directory watch state -------------------------
| 696 | // ----- dirWatch: per-directory watch state ------------------------- |
| 697 | |
| 698 | type callback struct { |
| 699 | id uint64 |
| 700 | dir string |
| 701 | physicalDir string |
| 702 | watchDir string |
| 703 | watchPhysicalDir string |
| 704 | recursive bool |
| 705 | fn WatchCallback |
| 706 | ignore func(path string) bool |
| 707 | sinceSeq uint64 |
| 708 | terminal error |
| 709 | delivered bool |
| 710 | } |
| 711 | |
| 712 | // dirWatchError associates an error with a specific directory watch. |
| 713 | type dirWatchError struct { |
no outgoing calls