common : drop u8path() and use generic_string() (#31681)

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Adrien Gallouët authored and GitHub committed 2026-11-05 08:37:59 +01:00
1 parent 5a081c0a70
commit 2ada83079a
4 files changed
+11 -13

No files matched your search

+1 -1
View File
@@ -1042,7 +1042,7 @@ std::filesystem::path fs_get_cache_file(const std::string & filename) {
if (ec) {
throw std::runtime_error("failed to create cache directory: " + cache_directory.string());
}
return cache_directory / std::filesystem::u8path(filename);
return cache_directory / filename;
}
//