diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-17 00:23:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 00:23:58 +0800 |
commit | bdef758d5c6d397584d0c35e53d6f6c318e61351 (patch) | |
tree | 0beb8c96c7bf6a5a82434ed79218e822927434c3 /vendor/github.com/rjeczalik/notify/event_fen.go | |
parent | c8695fae359aa327da9203a57ffaf4f2d47d4370 (diff) | |
parent | 2c4455b12aca82ccd29c05c1750c25430867e545 (diff) | |
download | dexon-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.go | 29 |
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{ |