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 7 8package notify 9 10// Platform independent event values. 11const ( 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 24var osestr = map[Event]string{} 25 26type event struct{} 27 28func (e *event) Event() (_ Event) { return } 29func (e *event) Path() (_ string) { return } 30func (e *event) Sys() (_ interface{}) { return } 31func (e *event) isDir() (_ bool, _ error) { return } 32