File: watcher_notimplemented.go

package info (click to toggle)
golang-github-syncthing-notify 0.0~git20210616.c6b7342-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 448 kB
  • sloc: makefile: 3
file content (15 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2014-2018 The Notify Authors. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.

// +build !darwin,!linux,!freebsd,!dragonfly,!netbsd,!openbsd,!windows
// +build !kqueue,!solaris,!illumos

package notify

import "errors"

// newWatcher stub.
func newWatcher(chan<- EventInfo) watcher {
	return watcherStub{errors.New("notify: not implemented")}
}