Skip to main content

rel_display

Function rel_display 

Source
pub fn rel_display(path: &Path) -> String
Expand description

Render a repo-relative path with / separators on every platform.

Node.file, FileFacts keys, and Reference file fields are strings compared byte-exactly (store keys, import chain walking, golden expectations), so the separator must not vary by host OS.