reorganize signed_core into method-based APIs
This commit is contained in:
@@ -22,8 +22,8 @@ impl GitCache {
|
||||
|
||||
pub fn repo_path(&self, addr: &RepoAddr) -> PathBuf {
|
||||
self.root
|
||||
.join(addr.public_key.to_hex())
|
||||
.join(sanitize_path_component(&addr.identifier))
|
||||
.join(addr.public_key().to_hex())
|
||||
.join(sanitize_path_component(addr.identifier()))
|
||||
}
|
||||
|
||||
pub fn open(&self, addr: &RepoAddr) -> Result<Option<gix::Repository>> {
|
||||
|
||||
Reference in New Issue
Block a user