watcher

package
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkspaceWatcher

type WorkspaceWatcher struct {
	// contains filtered or unexported fields
}

WorkspaceWatcher manages LSP file watching

func NewWorkspaceWatcher

func NewWorkspaceWatcher(client *lsp.Client) *WorkspaceWatcher

NewWorkspaceWatcher creates a new workspace watcher

func (*WorkspaceWatcher) AddRegistrations

func (w *WorkspaceWatcher) AddRegistrations(ctx context.Context, id string, watchers []protocol.FileSystemWatcher)

AddRegistrations adds file watchers to track

func (*WorkspaceWatcher) WatchWorkspace

func (w *WorkspaceWatcher) WatchWorkspace(ctx context.Context, workspacePath string)

WatchWorkspace sets up file watching for a workspace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL