// SPDX-License-Identifier: GPL-3.0-only #pragma once #include #include namespace bmh::ui { // Host paths use portable separators: the legacy font's backslash glyph is Ö. inline std::string save_directory_label(const std::filesystem::path& directory) { const auto value = directory.generic_u8string(); return std::string(value.begin(), value.end()); } } // namespace bmh::ui