Skip to content

Commit

Permalink
Merge pull request #113 from alexbirkett/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
creationix committed Dec 29, 2014
2 parents 369b41e + d4a1d6d commit f9997bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -34,28 +34,28 @@ var repo = {};
// - loadAs(type, hash) => hash
// - saveRaw(hash, binary) =>
// - loadRaw(hash) => binary
require('../mixins/mem-db')(repo);
require('js-git/mixins/mem-db')(repo);

// This adds a high-level API for creating multiple git objects by path.
// - createTree(entries) => hash
require('../mixins/create-tree')(repo);
require('js-git/mixins/create-tree')(repo);

// This provides extra methods for dealing with packfile streams.
// It depends on
// - unpack(packStream, opts) => hashes
// - pack(hashes, opts) => packStream
require('../mixins/pack-ops')(repo);
require('js-git/mixins/pack-ops')(repo);

// This adds in walker algorithms for quickly walking history or a tree.
// - logWalk(ref|hash) => stream<commit>
// - treeWalk(hash) => stream<object>
require('../mixins/walkers')(repo);
require('js-git/mixins/walkers')(repo);

// This combines parallel requests for the same resource for effeciency under load.
require('../mixins/read-combiner')(repo);
require('js-git/mixins/read-combiner')(repo);

// This makes the object interface less strict. See it's docs for details
require('../mixins/formats')(repo);
require('js-git/mixins/formats')(repo);
```

## Generators vs Callbacks
Expand Down

0 comments on commit f9997bf

Please sign in to comment.