New Features
-
Added
store
andstoreMode
options tofetchObjects
to allow passing a custom store (#5) -
Added
raw
option tofetchObjects
to allow getting the packfile as a binary stream (#5) -
Added
fetchObjectsV2
that returns an async generator instead of a stream (#5)
Bug Fixes
-
Fixed the excessive memory usage for
fetchObjects
(#5)The entire packfile is now buffered into memory, but once that is done, far less memory is allocated during actual parsing. In large, real world git repositories, this uses hundreds of times less memory.