carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package hostfiles
4
5import "errors"
6
7// newWatcher has no implementation off Linux; Run polls instead.
8func newWatcher(root string, skip func(string, bool) bool) (watcher, error) {
9 return nil, errors.New("no file watcher on this OS")
10}
11