mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* Profiling : move storage from FS.cpp to Profiling.cpp
This commit is contained in:
parent
b69fbdda9a
commit
0d15eceacb
5 changed files with 13 additions and 11 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue