From d82e972701165517517788b8b51eb089419a20cb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Sep 2024 20:49:33 +0200 Subject: Revert "Remove unused change_extension()." This reverts commit 6d1a7e90ec3244b8e532e03c5209d5e8448f422e. It is used in DCP-o-matic, contrary to the comment. --- src/filesystem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/filesystem.h') diff --git a/src/filesystem.h b/src/filesystem.h index 1d434200..679be1f9 100644 --- a/src/filesystem.h +++ b/src/filesystem.h @@ -47,6 +47,7 @@ namespace filesystem boost::filesystem::path absolute(boost::filesystem::path const& path); boost::filesystem::path canonical(boost::filesystem::path const& path); boost::filesystem::path weakly_canonical(boost::filesystem::path const& path); +boost::filesystem::path change_extension(boost::filesystem::path const& from, std::string const& new_extension); void copy(boost::filesystem::path const& from, boost::filesystem::path const& to); void copy_file(boost::filesystem::path const& from, boost::filesystem::path const& to); void copy_file(boost::filesystem::path const& from, boost::filesystem::path const& to, boost::system::error_code& ec); -- cgit v1.2.3