Skip to main content

Module input

Module input 

Source
Expand description

Salsa inputs.

Structsยง

FileId
Opaque file identifier used as a stable key for a source file across edits. Backend will map Url <-> FileId; salsa queries key on SourceFile which wraps this id plus the current text.
SourceFile
Per-file salsa input. A new revision is observed whenever text is set.
Workspace
Workspace-level input: the set of files that participate in whole-program analyses (codebase, references). Updated by the backend when files are discovered (workspace scan, did_open on previously-unseen file) or removed (watched-files delete).