Packages

package watcher

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final class FileWatcher extends Cancelable

    Watch selected files and execute a callback on file events.

    Watch selected files and execute a callback on file events.

    This class recursively watches selected directories and selected files. File events can be further filtered by the watchFiler parameter, which can speed by watching for changes by limiting the number of files that need to be hashed.

    We don't use the LSP dynamic file watcher capability because

    1. the glob syntax is not defined in the LSP spec making it difficult to deliver a consistent file watching experience with all editor clients on all operating systems. 2. we may have a lot of file watching events and it's presumably less overhead to get the notifications directly from the OS instead of through the editor via LSP.

  2. final case class FileWatcherEvent(eventType: EventType, path: Path) extends Product with Serializable
  3. class PathTrie extends AnyRef

    Trie representation of a set of paths

    Trie representation of a set of paths

    Each path segment is represented by a node in a tree. Can be used to efficiently check if the trie contains a prefix of a given path

Value Members

  1. object FileWatcher
  2. object FileWatcherEvent extends java.io.Serializable
  3. object PathTrie

Ungrouped