kubo/core/commands
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
..
files Revert "mfs.Mkdir returns the final Directory it creates" 2016-04-12 13:30:09 -07:00
object Merge pull request #2591 from ipfs/fix/null-object-links 2016-04-19 16:39:10 -07:00
unixfs Remove usage of merkledag.Link.Node pointer outside of merkledag 2016-03-01 08:59:44 +01:00
active.go Fixed up comments for diag cmds 2016-04-26 19:31:42 -04:00
add.go Merge pull request #2531 from noffle/output-dirs-on-add 2016-04-18 13:29:44 -07:00
bitswap.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
block.go clean deprecated Key.Pretty() 2016-03-25 12:05:45 +01:00
bootstrap.go Use gx vendored go-ipfs-utils where possible 2016-02-12 17:21:40 -08:00
cat.go update libp2p dep 2016-03-09 09:53:19 -08:00
commands.go trivial: various superficial fixes 2016-02-03 15:46:28 +10:00
config.go Added an as to ensure good English 2016-03-01 14:06:36 -05:00
dht_test.go test for the dht key escaping 2016-04-08 11:23:21 -07:00
dht.go unix-friendly output for 'ipfs dht' commands (#2560) 2016-04-27 09:31:06 -07:00
diag_test.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
diag.go Edited the grammar for diag 2016-03-18 17:12:45 -04:00
dns.go dns: update dns command docs 2016-03-03 17:06:10 +01:00
external.go Capitalized beginning of line messages, added periods 2016-01-24 22:39:34 +00:00
get.go Merge pull request #2366 from ipfs/docs/edit-ls-desc 2016-02-19 08:34:31 -08:00
id.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
ipns.go Use gx vendored go-ipfs-utils where possible 2016-02-12 17:21:40 -08:00
log.go commands: update log command help text 2016-04-15 16:09:29 -07:00
ls.go Remove usage of merkledag.Link.Node pointer outside of merkledag 2016-03-01 08:59:44 +01:00
mount_nofuse.go Mounts detect unmounts and track mount state. 2016-02-07 19:54:59 -08:00
mount_unix.go Normalised Example heading, added dollar sign to examples 2016-02-14 13:16:40 -05:00
mount_windows.go Mounts detect unmounts and track mount state. 2016-02-07 19:54:59 -08:00
name.go Fix punc-caps issues of cli Tagline 2016-01-22 02:36:17 +07:00
pin.go use the builtin option parser to set the default for ipfs pin ls --type 2016-03-30 20:00:40 -04:00
ping.go Use extracted go-libp2p-crypto, -secio, -peer packages 2016-04-16 21:48:06 -07:00
publish.go Fix a typo 2016-04-19 18:14:36 +08:00
refs.go Added default values to refs 2016-04-26 19:34:36 -04:00
repo.go commands: repo fsck (#2597) 2016-04-27 13:28:53 -07:00
resolve.go Make non recursive resolve print the result 2016-04-13 19:49:48 +02:00
root.go Merge pull request #2519 from thomas-gardner/commands 2016-04-26 17:20:56 -07:00
stat.go Added note to ipfs stats bw interval option 2016-04-19 12:05:07 -04:00
swarm.go Fix disconnect argument description 2016-04-20 13:23:17 -04:00
sysdiag.go update utp and cleanup more godeps along the way 2016-03-29 19:18:14 -07:00
tar.go Capped IPFS, added period 2016-02-17 13:12:28 -05:00
tour_test.go Replace 'var * bytes.Buffer' with '\1 := new(bytes.Buffer)' 2015-05-26 23:18:04 +07:00
tour.go Capitalized beginning of line messages, added periods 2016-01-24 22:39:34 +00:00
version.go Capitalized beginning of line messages, added periods 2016-01-24 22:39:34 +00:00