Harness the power of signify(1) to sign arbitrary git objects
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

make some fns private

+2 -2
+2 -2
src/utils.rs
··· 182 182 } 183 183 184 184 /// Load a v0 [`TreeSignature`]. 185 - pub fn load_oid_v0(repo: &'repo Repository, object: Object<'repo>) -> Result<Self> { 185 + fn load_oid_v0(repo: &'repo Repository, object: Object<'repo>) -> Result<Self> { 186 186 let tree = object.as_tree().with_context(|| { 187 187 format!( 188 188 "No tree signature found for object with oid={}", ··· 215 215 } 216 216 217 217 /// Load a v1 [`TreeSignature`]. 218 - pub fn load_oid_v1(repo: &'repo Repository, object: Object<'repo>) -> Result<Self> { 218 + fn load_oid_v1(repo: &'repo Repository, object: Object<'repo>) -> Result<Self> { 219 219 let commit = object 220 220 .as_commit() 221 221 .context("Failed to retrieve v1 git commit with signature")?;