0.0.12 • Published 11 years ago

git-objectify-pack v0.0.12

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

git-objectify-pack

transform metadata objects emitted from git-list-pack into full-on git objects.

var fs = require('fs')
  , list = require('git-list-pack')
  , objectify = require('git-objectify-pack')

fs.createReadStream('path/to/packfile')
  .pipe(list())
  .pipe(objectify(find))

function find(oid, ready) {
  // for finding ref-delta objects that might
  // be outside of the current packfile
  return ready(null, referencedObject | null)
}

API

objectify(find) -> r/w stream of objects.

Create a r/w stream suitable for piping git-list-pack streams into.

Emits git objects with attached string hashes.

License

MIT

0.0.12

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago