kubo/cmd/ipfs
Kevin Atkinson 28921471db daemon: use fsrepo.IsInitialized to test for initialization
Use fsrepo.IsInitialized to test for initialization instead of just
testing if the directory exists.

Also add test cases for '--init' option, including one the creates an
empty directory.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 04:25:57 -04:00
..
dist README.md: Add sudo to install commands. 2016-09-10 12:40:54 +02:00
.gitignore make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
.gobuilder.yml added gobuilder no_go_fmt flag to right file 2015-10-31 04:36:13 -04:00
daemon.go daemon: use fsrepo.IsInitialized to test for initialization 2017-03-22 04:25:57 -04:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go Changed so only explicit ipfs cli commands are lowercased 2016-10-27 22:55:13 -07:00
ipfs.go Require diag command to run on daemon 2016-05-25 14:04:43 +02:00
main_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
main.go update go-libp2p-kad-dht with getclosestpeers fix 2017-03-05 23:06:04 -08:00
Rules.mk make: reimplement commit ref in version 2017-02-12 02:14:48 +01:00
runmain_test.go make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
ulimit_freebsd.go ulimit: handle freebsd ulimit code separately from the rest of the unixes 2016-11-30 10:27:22 -08:00
ulimit_unix.go ulimit: handle freebsd ulimit code separately from the rest of the unixes 2016-11-30 10:27:22 -08:00
ulimit.go ulimit: handle freebsd ulimit code separately from the rest of the unixes 2016-11-30 10:27:22 -08:00