diff options
Diffstat (limited to 'src/util/system.h')
-rw-r--r-- | src/util/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/system.h b/src/util/system.h index dda9156488..9ed9f1f0df 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -83,6 +83,8 @@ fs::path GetDefaultDataDir(); // The blocks directory is always net specific. const fs::path &GetBlocksDir(); const fs::path &GetDataDir(bool fNetSpecific = true); +// Return true if -datadir option points to a valid directory or is not specified. +bool CheckDataDirOption(); /** Tests only */ void ClearDatadirCache(); fs::path GetConfigFile(const std::string& confPath); |