mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* Profiling : move storage from FS.cpp to Profiling.cpp
This commit is contained in:
5
FS.cpp
5
FS.cpp
@@ -22,7 +22,6 @@ namespace fs {
|
||||
#else
|
||||
std::string dirSep = "/";
|
||||
#endif
|
||||
HashedStorage Peers("peerProfiles", "p", "profile-", "txt");
|
||||
|
||||
const std::string & GetAppName () {
|
||||
return appName;
|
||||
@@ -71,8 +70,6 @@ namespace fs {
|
||||
if (boost::filesystem::exists(destinations))
|
||||
boost::filesystem::create_directory(destinations);
|
||||
|
||||
Peers.SetPlace(dataDir);
|
||||
Peers.Init(i2p::data::GetBase64SubstitutionTable(), 64);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -153,7 +150,5 @@ namespace fs {
|
||||
files.push_back(t);
|
||||
}
|
||||
}
|
||||
|
||||
HashedStorage & GetPeerProfiles() { return Peers; }
|
||||
} // fs
|
||||
} // i2p
|
||||
|
||||
Reference in New Issue
Block a user