| 1 | //go:build !linux |
| 2 | |
| 3 | package main |
| 4 | |
| 5 | import "errors" |
| 6 | |
| 7 | // watchRefs fails where there is no inotify: the bridge runs on Linux |
| 8 | // hosts alone. |
| 9 | func watchRefs(string) (watcher, error) { |
| 10 | return nil, errors.New("onmain watches ref storage with inotify, which only Linux has") |
| 11 | } |