Skip to main content

relative_file_key

Function relative_file_key 

Source
pub fn relative_file_key(base: &Path, path: &Path) -> Option<String>
Expand description

Build the portable key used for a file within a directory entry.

Keys always use forward slashes so cache, installed, and patch maps agree across platforms.