class LSProtocol::FileSystemWatcher
- LSProtocol::FileSystemWatcher
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(glob_pattern : GlobPattern | Nil, kind : WatchKind | UInt32 | Nil = nil)
Instance Method Summary
-
#glob_pattern : GlobPattern
The glob pattern to watch.
-
#kind : WatchKind | UInt32 | Nil
The kind of events of interest.
Constructor Detail
Instance Method Detail
def glob_pattern : GlobPattern
#
The glob pattern to watch. See GlobPattern
for more detail.
@since 3.17.0 support for relative patterns.
The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.