Help us shape the future of Go! Take the 2026 Go Developer Survey

watcher

package
v0.311.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 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