kubo/core
michael 46bcdce15d commands: repo fsck (#2597)
* Adds repo fsck subcommand

Fixes #2457

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks for error on file deletion

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Checks if node is online

License: MIT
Signed-off-by: Mike Pfister <pfista@gmail.com>

* Update error checking

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Prevents command from running while daemon is running

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Add newline to command output message

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing superfluous error

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Adds sharness test for repo fsck command

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Ignore warning if file doesn't exist

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Updating message output

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* adding debug statements

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* update and add fsck sharness tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating comments

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* Use printf in test

Using printf prevents a newline from being printed to the api test file. When
the newline was present, multiaddr threw errors  trying to parse the api address
to an integer since the newline character was present.

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* updating tests

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>

* removing commented code

License: MIT
Signed-off-by: Michael Pfister <pfista@gmail.com>
2016-04-27 13:28:53 -07:00
..
commands commands: repo fsck (#2597) 2016-04-27 13:28:53 -07:00
corehttp Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
corenet Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
corerepo repo: properly init Datastore config, and leave it be 2016-04-11 16:21:14 -07:00
corerouting Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
coreunix redundency-be-gone 2016-04-12 13:32:16 -07:00
mock Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
bootstrap.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
builder.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
core_test.go Use gx vendored go-ipfs-utils where possible 2016-02-12 17:21:40 -08:00
core.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
pathresolver_test.go Add test to detect invalid path 2015-07-04 02:50:15 +07:00
pathresolver.go dns: update dns command docs 2016-03-03 17:06:10 +01:00