package
0.0.3
Repository: https://github.com/weaveworks/libgitops.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns the default options.
NewFileWatcher returns a list of files in the watched directory in addition to the generated FileWatcher, it can be used to populate MappedRawStorage fileMappings.
NewFileWatcher returns a list of files in the watched directory in addition to the generated FileWatcher, it can be used to populate MappedRawStorage fileMappings.
WalkDirectoryForFiles discovers all subdirectories and returns a list of valid files in them.

# Constants

# Structs

FileUpdate is used by watchers to signal the state change of a file.
FileWatcher recursively monitors changes in files in the given directory and sends out events based on their state changes.
Options specifies options for the FileWatcher.

# Type aliases

FileEvent is an enum describing a change in a file's state.
FileEvents is a slice of FileEvents.
FileUpdates is a slice of FileUpdate pointers.