| 1 | //go:build darwin && !cgo |
| 2 | |
| 3 | package main |
| 4 | |
| 5 | import "errors" |
| 6 | |
| 7 | var errDarwinWorkspaceWatchingRequiresCGO = errors.New("macOS workspace watching requires CGO and FSEvents") |
| 8 | |
| 9 | func newWorkspaceWatcher() (workspaceWatcher, error) { |
| 10 | return nil, errDarwinWorkspaceWatchingRequiresCGO |
| 11 | } |
| 12 |