From d801e971fb2233d062b24032fbef4d8ddfe73c5a Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 23 Aug 2026 14:58:28 -0400 Subject: [PATCH] removed CreatePath --- libi2pd/FS.cpp | 8 -------- libi2pd/FS.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/libi2pd/FS.cpp b/libi2pd/FS.cpp index 2064caa9..aa6d5b04 100644 --- a/libi2pd/FS.cpp +++ b/libi2pd/FS.cpp @@ -274,14 +274,6 @@ namespace fs { #endif } - std::string CreatePath (const std::vector& 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)) diff --git a/libi2pd/FS.h b/libi2pd/FS.h index edbf54de..ec197692 100644 --- a/libi2pd/FS.h +++ b/libi2pd/FS.h @@ -163,8 +163,6 @@ namespace fs { _ExpandPath(path, other ...); } - std::string CreatePath (const std::vector& subdirs); - /** * @brief Get path relative to datadir *