sapling/eden/cli
Adam Simpkins 5fd3e0e6b9 initial start for an fsck command
Summary:
This adds initial code for an `eden debug fsck` command.

At the moment this simply scans the overlay and reports errors, but does not
correct any issues.  In subsequent diffs I'll update it to support correcting
some problems.

There are also several other issues that I'll improve in subsequent diffs as
well.  At the moment this code uses the same functions as other CLI commands
to find the client directory, and these only work if the checkout is already
mounted.  For `fsck` we generally want the checkout to be unmounted before
checking it.  I also plan to clean up some of the output handling as well.

Reviewed By: strager

Differential Revision: D8813714

fbshipit-source-id: 90238e94540db1cc06c17eabf8ce3a1bb808d4b3
2018-07-16 18:51:48 -07:00
..
test refactor the "eden doctor" command 2018-06-25 21:06:19 -07:00
buck.py refactor and split out some cli functions 2018-05-10 13:49:44 -07:00
cmd_util.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
config.py have "eden clone" create a README file for unmounted checkouts 2018-06-26 21:06:42 -07:00
configinterpolator.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
daemon.py update the CLI to make use of edenfs daemonization 2018-06-26 12:07:08 -07:00
debug.py move overlay logic in the CLI into its own module 2018-07-11 19:51:10 -07:00
doctor.py refactor the "eden doctor" command 2018-06-25 21:06:19 -07:00
filesystem.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
fsck.py initial start for an fsck command 2018-07-16 18:51:48 -07:00
main.py initial start for an fsck command 2018-07-16 18:51:48 -07:00
mtab.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
overlay.py initial start for an fsck command 2018-07-16 18:51:48 -07:00
rage.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
stats_print.py Reformat already opted in directories with Black Beta @allow-large-files 2018-05-18 23:07:24 -07:00
stats.py Provide real-time values for memory statistics 2018-06-21 15:51:51 -07:00
stdout_printer.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
subcmd.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
util.py improve behavior of "eden restart" 2018-07-11 19:05:32 -07:00
version.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00