kubo/core
W. Trevor King c322a4eb0f core/commands/add: Change add() to only accept a single reader
The change to an array of readers comes from e096060b
(refactor(core/commands2/add) split loop, 2014-11-06), where it's used
to setup readers for each path in the argument list.  However, since
6faeee83 (cmds2/add: temp fix for -r. horrible hack, 2014-11-11) the
argument looping moved outside of add() and into Run(), so we can drop
the multiple-reader support from add().

Adding a file can create multiple nodes (e.g. the splitter can chunk
the file into several blocks), but:

1. we were only appending a single node per reader to our returned
   list, and
2. we are only using the final node in that returned list,

so this commit also adjusts add() to return a single node reference
instead on an array of nodes.
2015-04-23 09:41:59 -07:00
..
commands core/commands/add: Change add() to only accept a single reader 2015-04-23 09:41:59 -07:00
corehttp corehttp: disable HTTP keep-alive when shutting down server 2015-04-20 14:55:42 +02:00
corenet Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
corerepo Move IPNS resolutions into the core library 2015-04-20 01:04:30 -07:00
corerouting Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
coreunix fix for #1008 and other pinning fixes 2015-04-19 23:40:25 -07:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
bootstrap.go core: bugfix: bootstrap random permutation 2015-04-20 06:00:42 -07:00
builder.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
core_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
core.go Move IPNS resolutions into the core library 2015-04-20 01:04:30 -07:00
mock.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
pathresolver.go core: resolve error + bounds check 2015-04-20 01:49:22 -07:00