Skip to main content

workspace_files

Function workspace_files 

Source
pub fn workspace_files<'db>(
    db: &'db dyn Database,
    ws: Workspace,
) -> Vec<SourceFile<'db>>
Expand description

Produce SourceFile tracked structs for all active workspace files. Salsa GC removes SourceFile entities (and cascades to parsed_doc, file_index, symbol_map, parse_error_count) when they are absent from this function’s output.