class LSProtocol::FileSystemWatcher

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(glob_pattern : GlobPattern | Nil, kind : WatchKind | UInt32 | Nil = nil) #

[View source]

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.


[View source]
def kind : WatchKind | UInt32 | Nil #

The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.


[View source]