mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-09-01 22:18:31 +00:00
removed CreatePath
This commit is contained in:
@@ -274,14 +274,6 @@ namespace fs {
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string CreatePath (const std::vector<std::string_view>& subdirs)
|
||||
{
|
||||
fs_lib::path ret;
|
||||
for (const auto& it: subdirs)
|
||||
ret /= it;
|
||||
return ret.string ();
|
||||
}
|
||||
|
||||
bool Remove(const std::string & path)
|
||||
{
|
||||
if (!fs_lib::exists(path))
|
||||
|
||||
@@ -163,8 +163,6 @@ namespace fs {
|
||||
_ExpandPath(path, other ...);
|
||||
}
|
||||
|
||||
std::string CreatePath (const std::vector<std::string_view>& subdirs);
|
||||
|
||||
/**
|
||||
* @brief Get path relative to datadir
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user