Function libpijul::working_copy::filesystem::get_prefix [−][src]
pub fn get_prefix(
repo_path: Option<&CanonicalPath>,
prefix: &Path
) -> Result<(CanonicalPathBuf, String), Error>
Expand description
From a path on the filesystem, return the canonical path (a PathBuf
), and a
prefix relative to the root of the repository (a String
).