Commits


inflate: support sha256


sed -i s/sha1/hash not exactly, some "hash" were changed back to "sha1" for the time being.


match the unsigned char type used by the zlib interface ok stsp


verify object ID checksums while loose objects are being accessed


add checksum parameters to got_inflate functions which did not provide them yet


make got-index-pack compute and verify the pack file's SHA1 checksum


extract large objects to a temporary file in got-index-pack


add mmap support to got-index-pack


do not buffer more data than necessary in got_inflate_to_mem_fd()


avoid re-reading the entirety of an object's data to calculate the CRC


add optional 'consumed' output parameter to got_inflate_to_mem_fd()


add optional 'consumed' output parameter to got_inflate_to_mem()


increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)


rename got_zstream_* to got_inflate_*


rename zbuf to inflate