kubo/core
W. Trevor King 40c6ffd4fe core/commands: Make IpnsCmd and PublishCmd public
ipfs-shell [1] accesses the Command objects directly to construct
requests for an external IPFS daemon API.  This isn't a terribly
robust approach, because it doesn't handle version differences between
the version of go-ipfs used to build the daemon and the version used
to build the ipfs-shell-consuming application.  But for cases where
you can get those APIs to match it works well.  Making these two
commands public allows us to write ipfs-shell wrappers for them.
Until we figure out how to get ipfs-shell working without access to
core/commands, I think the best approach is to make future command
objects and their returned structures public, and to go back and
expose existing commands/structures on an as-needed basis.

In this case, I need the public PublishCmd for the Docker-registry
storage driver, and I made the IpnsCmd public at the same time to stay
consistent for both 'ipfs name ...' sub-commands.

[1]: https://github.com/whyrusleeping/ipfs-shell

License: MIT
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-06-19 02:44:03 -07:00
..
commands core/commands: Make IpnsCmd and PublishCmd public 2015-06-19 02:44:03 -07:00
corehttp http endpoints: dont print before listen 2015-06-08 10:56:05 +02:00
corenet Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
corerepo move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
corerouting Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
coreunix move util.Key into its own package under blocks 2015-06-01 16:10:08 -07:00
mock remove testing imports from non testing code 2015-05-31 15:41:59 -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 make the default repo for corebuilder work 2015-06-03 16:06:15 -07:00
core_test.go Run 'gofmt -s -w' on these files 2015-05-19 06:11:15 +07:00
core.go core/core: Refer back to the main go-ipfs docs 2015-05-02 08:18:08 -07:00
pathresolver_test.go remove testing imports from non testing code 2015-05-31 15:41:59 -07:00
pathresolver.go Named error for no components 2015-05-22 09:18:49 -07:00