Change the return type of `Blob::size()` to u64
@@ -35,8 +35,8 @@ impl<'repo> Blob<'repo> {
}
/// Get the size in bytes of the contents of this blob.
- pub fn size(&self) -> usize {
- unsafe { raw::git_blob_rawsize(&*self.raw) as usize }
+ pub fn size(&self) -> u64 {
+ unsafe { raw::git_blob_rawsize(&*self.raw) as u64 }
}
/// Casts this Blob to be usable as an `Object`
