pub fn resource_from_origin(dir: &Path) -> Result<Resource>
The repository origin names in the clone at dir, as a resource.
origin
dir