git ssb

0+

cel / pull-git-remote-helper



Tree: 76d7bd15ac81df893e05f465fa9200b7c1be2e1e

Files: 76d7bd15ac81df893e05f465fa9200b7c1be2e1e / test / git-remote-test.js

338 bytesRaw
1#!/usr/bin/env node
2
3var toPull = require('stream-to-pull-stream')
4var pull = require('pull-stream')
5
6pull(
7 toPull(process.stdin),
8 require('../')({
9 prefix: 'foo',
10 objectSink: pull.drain(function (obj) {
11 console.error('obj', obj)
12 })
13 }),
14 toPull(process.stdout, function (err) {
15 if (err)
16 throw err
17 })
18)
19

Built with git-ssb-web