LSProtocol::FileSystemWatcher
Inherits JSON::Serializable / Reference / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(glob_pattern : GlobPattern | Nil, kind : WatchKind | UInt32 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
glob_pattern
The glob pattern to watch. See GlobPattern for more detail.
@since 3.17.0 support for relative patterns.
kind
The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.