package
1.0.0-beta.7
Repository: https://github.com/sylabs/singularity-cri.git
Documentation: pkg.go.dev
# Functions
NewWatcher creates new Watcher that will be watching passed files or directories that already exist.
Usage collects fs usage for specific location, often a directory.
# Constants
OpCreate is used when watched file was created.
OpRemove is used when watched file was removed.
OpUnsupported stands for currently unsupported file operation type.
# Structs
UsageInfo holds metrics on fs usage.
Watcher is a filesystem watcher that can be used to watch filesystem changes.
WatchEvent is a single event that happens during filesystem watch.
# Type aliases
Op is a separate type for watch file events.