kilork / hg-parser

Mercurial repository parser
GNU General Public License v2.0
4 stars 1 forks source link

Use i64 instead of i32 for offset/len to handle > 2GB data. Calculate… #3

Closed Scraft closed 3 years ago

Scraft commented 3 years ago

Use i64 instead of i32 for offset/len to handle > 2GB data. Calculate end (from start and len) in usize space (rather than attempt to cast result only).

kilork commented 3 years ago

Finally found my sandbox repo for tests, have not found any regression, looks good!