aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/rjeczalik/notify/event_fen.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-17 00:23:58 +0800
committerGitHub <noreply@github.com>2017-02-17 00:23:58 +0800
commitbdef758d5c6d397584d0c35e53d6f6c318e61351 (patch)
tree0beb8c96c7bf6a5a82434ed79218e822927434c3 /vendor/github.com/rjeczalik/notify/event_fen.go
parentc8695fae359aa327da9203a57ffaf4f2d47d4370 (diff)
parent2c4455b12aca82ccd29c05c1750c25430867e545 (diff)
downloaddexon-bdef758d5c6d397584d0c35e53d6f6c318e61351.tar.gz
dexon-bdef758d5c6d397584d0c35e53d6f6c318e61351.tar.zst
dexon-bdef758d5c6d397584d0c35e53d6f6c318e61351.zip
Merge pull request #3679 from fjl/vendor-govendor
vendor: update dependencies with github.com/kardianos/govendor
Diffstat (limited to 'vendor/github.com/rjeczalik/notify/event_fen.go')
-rw-r--r--vendor/github.com/rjeczalik/notify/event_fen.go29
1 files changed, 20 insertions, 9 deletions
diff --git a/vendor/github.com/rjeczalik/notify/event_fen.go b/vendor/github.com/rjeczalik/notify/event_fen.go
index a3079385d..767f04fa8 100644
--- a/vendor/github.com/rjeczalik/notify/event_fen.go
+++ b/vendor/github.com/rjeczalik/notify/event_fen.go
@@ -20,16 +20,27 @@ const (
)
const (
- FileAccess = fileAccess
- FileModified = fileModified
- FileAttrib = fileAttrib
- FileDelete = fileDelete
- FileRenameTo = fileRenameTo
+ // FileAccess is an event reported when monitored file/directory was accessed.
+ FileAccess = fileAccess
+ // FileModified is an event reported when monitored file/directory was modified.
+ FileModified = fileModified
+ // FileAttrib is an event reported when monitored file/directory's ATTRIB
+ // was changed.
+ FileAttrib = fileAttrib
+ // FileDelete is an event reported when monitored file/directory was deleted.
+ FileDelete = fileDelete
+ // FileRenameTo to is an event reported when monitored file/directory was renamed.
+ FileRenameTo = fileRenameTo
+ // FileRenameFrom is an event reported when monitored file/directory was renamed.
FileRenameFrom = fileRenameFrom
- FileTrunc = fileTrunc
- FileNoFollow = fileNoFollow
- Unmounted = unmounted
- MountedOver = mountedOver
+ // FileTrunc is an event reported when monitored file/directory was truncated.
+ FileTrunc = fileTrunc
+ // FileNoFollow is an flag to indicate not to follow symbolic links.
+ FileNoFollow = fileNoFollow
+ // Unmounted is an event reported when monitored filesystem was unmounted.
+ Unmounted = unmounted
+ // MountedOver is an event reported when monitored file/directory was mounted on.
+ MountedOver = mountedOver
)
var osestr = map[Event]string{