GO-2022-0490 : Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events
Discover Packages
github.com/argoproj/argo-events
gateways
common
fsevent
package
Version:
v0.8.2
Opens a new window with list of versions in this module.
Published: Mar 13, 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.