Bugfix for hash generation of non utf8 files

This commit is contained in:
Daniel Heule
2026-01-09 09:54:52 +01:00
parent 95b3076fe2
commit 9bd7685dc3
4 changed files with 47 additions and 20 deletions

View File

@@ -49,7 +49,7 @@ impl Oid {
x
}
/* pub fn add_suffix(&self, o: &Oid) -> Oid {
/* pub fn add_suffix(&self, o: &Oid) -> Oid {
let mut x = self.clone();
x.0.extend(o.clone().0);
x
@@ -111,7 +111,7 @@ pub struct OidData {
}
impl OidData {
/*
/*
pub fn new(base_oid: &str) -> Self {
Self {
base: base_oid.parse().expect("Unable to parse Oid"),