Discover Packages
github.com/ibm-cloud/argo-events
gateways
common
fsevent
package
Version:
v0.0.0-...-1af24f0
Opens a new window with list of versions in this module.
Published: Nov 27, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Event struct {
Name string `json:"name"`
Op Op `json:"op"`
}
Event represents a single file system notification.
String returns a string representation of the event in the form
"file: REMOVE|WRITE|..."
Op describes a set of file operations.
const (
Create Op = 1 << iota
Write
Remove
Rename
Chmod
)
These are the generalized file operations that can trigger a notification.
NewOp converts a given string to Op
Source Files
¶
Click to show internal directories.
Click to hide internal directories.