Debian Codegraph @

event_stub.go

raw symbols SCIP
1 // Copyright (c) 2014-2015 The Notify Authors. All rights reserved.
2 // Use of this source code is governed by the MIT license that can be
3 // found in the LICENSE file.
4
5 // +build !darwin,!linux,!freebsd,!dragonfly,!netbsd,!openbsd,!windows
6 // +build !kqueue,!solaris,!illumos
7
8 package notify
9
10 // Platform independent event values.
11 const (
12 osSpecificCreate Event = 1 << iota
13 osSpecificRemove
14 osSpecificWrite
15 osSpecificRename
16 // internal
17 // recursive is used to distinguish recursive eventsets from non-recursive ones
18 recursive
19 // omit is used for dispatching internal events; only those events are sent
20 // for which both the event and the watchpoint has omit in theirs event sets.
21 omit
22 )
23
24 var osestr = map[Event]string{}
25
26 type event struct{}
27
28 func (e *event) Event() (_ Event) { return }
29 func (e *event) Path() (_ string) { return }
30 func (e *event) Sys() (_ interface{}) { return }
31 func (e *event) isDir() (_ bool, _ error) { return }