Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 60ed975

Browse files
committed
return dagnodes
1 parent 5881f2d commit 60ed975

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,8 @@ Where `data` may be
8787
`callback` must follow `function (err, res) {}` signature, where `err` is an
8888
error if the operation was not successful. If no value `data` is provided, `res`
8989
will be a Duplex stream, to which tuples like the above two object formats can
90-
be written and objects of the form
91-
92-
```js
93-
{
94-
Name: 'some name',
95-
Hash: 'QmRNjDeKStKGTQXnJ2NFqeQ9oW23WcpbmvCVrpDHgDg3T6'
96-
}
97-
```
98-
99-
will be outputted. Otherwise, `res` will be an array of objects of the above
100-
form.
90+
be written and [DAGNode][] objects will be outputted. Otherwise, `res` will be
91+
an array of [DAGNode][]s.
10192

10293
If no `callback` is passed, a promise is returned.
10394

0 commit comments

Comments
 (0)