mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Remove GetDataDir(bool fNetSpecific = true)
function
This commit is contained in:
parent
b3e67f20a0
commit
aca0e5dcdb
2 changed files with 0 additions and 6 deletions
|
@ -802,11 +802,6 @@ fs::path GetDefaultDataDir()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const fs::path &GetDataDir(bool fNetSpecific)
|
|
||||||
{
|
|
||||||
return fNetSpecific ? gArgs.GetDataDirNet() : gArgs.GetDataDirBase();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CheckDataDirOption()
|
bool CheckDataDirOption()
|
||||||
{
|
{
|
||||||
std::string datadir = gArgs.GetArg("-datadir", "");
|
std::string datadir = gArgs.GetArg("-datadir", "");
|
||||||
|
|
|
@ -90,7 +90,6 @@ void ReleaseDirectoryLocks();
|
||||||
|
|
||||||
bool TryCreateDirectories(const fs::path& p);
|
bool TryCreateDirectories(const fs::path& p);
|
||||||
fs::path GetDefaultDataDir();
|
fs::path GetDefaultDataDir();
|
||||||
const fs::path &GetDataDir(bool fNetSpecific = true);
|
|
||||||
// Return true if -datadir option points to a valid directory or is not specified.
|
// Return true if -datadir option points to a valid directory or is not specified.
|
||||||
bool CheckDataDirOption();
|
bool CheckDataDirOption();
|
||||||
fs::path GetConfigFile(const std::string& confPath);
|
fs::path GetConfigFile(const std::string& confPath);
|
||||||
|
|
Loading…
Add table
Reference in a new issue