basicfs_watch_unsupported.go 581 B

1234567891011121314151617
  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. //go:build (solaris && !cgo) || (darwin && !cgo) || (android && amd64)
  7. // +build solaris,!cgo darwin,!cgo android,amd64
  8. package fs
  9. import "context"
  10. func (f *BasicFilesystem) Watch(name string, ignore Matcher, ctx context.Context, ignorePerms bool) (<-chan Event, <-chan error, error) {
  11. return nil, nil, ErrWatchNotSupported
  12. }