pub fn split_path(path: &Path) -> Option<(&str, &Path)>
Split a repository-relative path into its first component and the remainder.