pub fn root_hash(path: &Path, name: &str) -> Result<PackageId>