Logical file identity for workspace membership.
A file ref identifies the user's logical file, not a future backend or overlay path. Path refs are scoped to an expanded project root plus a normalized relative path. Buffer refs identify unsaved or special buffers by their live buffer pid.
Summary
Functions
Returns the display label for a file ref.
Returns true when two refs identify the same logical file.
Builds a buffer-backed logical file ref for an unsaved or special buffer.
Builds a path-backed logical file ref scoped to a project root.
Types
Functions
Returns the display label for a file ref.
Returns true when two refs identify the same logical file.
Builds a buffer-backed logical file ref for an unsaved or special buffer.
Builds a path-backed logical file ref scoped to a project root.