Skip to content

Refactor UrlId into FilePath enum#1251

Open
lionel- wants to merge 4 commits into
oak/salsa-14-canonicalisationfrom
oak/salsa-15-file-path-refactor
Open

Refactor UrlId into FilePath enum#1251
lionel- wants to merge 4 commits into
oak/salsa-14-canonicalisationfrom
oak/salsa-15-file-path-refactor

Conversation

@lionel-
Copy link
Copy Markdown
Contributor

@lionel- lionel- commented Jun 3, 2026

Branched from #1250 (see that PR first for context)
Progress towards #1212

  • Rename UrlId to FilePath
  • Make it our own custom enum instead of piggybacking on the Url enum. Variants: File (lexically normalised) and Virtual (wrap an Uri e.g. for untitled files). We could add Vendored later for vendored base R sources, mirroring ty.

This refactor better reflects that the main representation for our files are on-disk paths.

@lionel- lionel- force-pushed the oak/salsa-14-canonicalisation branch from 0e6a188 to eb2c844 Compare June 4, 2026 14:19
@lionel- lionel- force-pushed the oak/salsa-15-file-path-refactor branch from 4ac9528 to e807fd2 Compare June 4, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant