git ssb

0+

cel / pull-git-remote-helper



Tree:
📄LICENSE
📄README.md
📄index.js
📁lib
📄package.json
📁test
README.md

pull-git-remote-helper

Make a git remote helper that integrates with git's internal objects.

Example

var toPull = require('stream-to-pull-stream')
var pull = require('pull-stream')
var gitRemoteHelper = require('pull-git-remote-helper')

var options = {
  refSource: pull.values([]),
  updateSink: pull.drain(console.error),
  wantSink: pull.drain(console.error),
  hasObject: function (hash, cb) { cb(false) },
  getObjects: /* ... /,
  objectSink: /* ... */
}

pull(
  toPull(process.stdin),
  gitRemoteHelper(options),
  toPull(process.stdout)
)

API

The streams in this module are pull-streams.

TODO

License

Fair License

Built with git-ssb-web