Skip to content

Make db.package_by_name() and db.root_by_package() backed by Salsa queries #1293

Description

@DavisVaughan

See #1287 (comment)

I think we started with file_by_path(), which can't be a query because FilePath is not a Salsa key, but that reason doesn't apply to package-by-name (if we make it take a Name instead of &str) and root-by-package.

Idea is to make package_by_name_query() and root_by_package_query() that underly these into queries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions