basicfs_watch_unsupported.go 477 B

123456789101112131415
  1. // Copyright (C) 2016 The Syncthing Authors.
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5. // You can obtain one at http://mozilla.org/MPL/2.0/.
  6. // +build solaris,!cgo darwin,!cgo
  7. package fs
  8. import "context"
  9. func (f *BasicFilesystem) Watch(path string, ignore Matcher, ctx context.Context, ignorePerms bool) (<-chan Event, error) {
  10. return nil, ErrWatchNotSupported
  11. }