Add lighthouse db command!

This commit is contained in:
Michael Sproul
2022-03-08 13:39:24 +11:00
parent e48ab54dcc
commit 0ee31a0a69
10 changed files with 339 additions and 40 deletions

View File

@@ -171,7 +171,7 @@ impl Config {
/// For more information, see:
///
/// https://github.com/sigp/lighthouse/pull/2843
fn get_data_dir(&self) -> PathBuf {
pub fn get_data_dir(&self) -> PathBuf {
let existing_legacy_dir = self.get_existing_legacy_data_dir();
if let Some(legacy_dir) = existing_legacy_dir {