git pack index file parser
given a packfile, create a stream to parse it's index file.
currently only supports v2 idx files.
var packidx = require'git-packidx-parser'fscreateReadStream'path/to/packidx'pipepackidx<packfile>on'data'
given packfile (which should provide
_read(offset, nextOffset, ready)), return
a writable stream that emits a single
'data' event containing a
ready is given, it will be called with
(err, packidx) --
err will be null
if there were no errors.
oid from the pack file.