Bugfix for hash generation of non utf8 files
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user