diff options
author | Felix Lange <fjl@twurst.com> | 2016-03-19 02:37:29 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-12 21:58:07 +0800 |
commit | ef63e9af55fcfe3255dddec3197bd8a807152c66 (patch) | |
tree | 76e5cd9535373295a147fb71f6d7897e1c345ac8 /Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go | |
parent | ee1682ffe6728618cc4458f3923a4c46fff64d98 (diff) | |
download | go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar.gz go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar.bz2 go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar.lz go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar.xz go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.tar.zst go-tangerine-ef63e9af55fcfe3255dddec3197bd8a807152c66.zip |
Godeps: add github.com/rjeczalik/notify
Diffstat (limited to 'Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go b/Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go new file mode 100644 index 000000000..a3079385d --- /dev/null +++ b/Godeps/_workspace/src/github.com/rjeczalik/notify/event_fen.go @@ -0,0 +1,46 @@ +// Copyright (c) 2014-2015 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 solaris + +package notify + +const ( + osSpecificCreate Event = 0x00000100 << iota + osSpecificRemove + osSpecificWrite + osSpecificRename + // internal + // recursive is used to distinguish recursive eventsets from non-recursive ones + recursive + // omit is used for dispatching internal events; only those events are sent + // for which both the event and the watchpoint has omit in theirs event sets. + omit +) + +const ( + FileAccess = fileAccess + FileModified = fileModified + FileAttrib = fileAttrib + FileDelete = fileDelete + FileRenameTo = fileRenameTo + FileRenameFrom = fileRenameFrom + FileTrunc = fileTrunc + FileNoFollow = fileNoFollow + Unmounted = unmounted + MountedOver = mountedOver +) + +var osestr = map[Event]string{ + FileAccess: "notify.FileAccess", + FileModified: "notify.FileModified", + FileAttrib: "notify.FileAttrib", + FileDelete: "notify.FileDelete", + FileRenameTo: "notify.FileRenameTo", + FileRenameFrom: "notify.FileRenameFrom", + FileTrunc: "notify.FileTrunc", + FileNoFollow: "notify.FileNoFollow", + Unmounted: "notify.Unmounted", + MountedOver: "notify.MountedOver", +} |