MCPcopy Create free account
hub / github.com/SFML/SFML / pathFromUtf8

Function pathFromUtf8

src/SFML/Network/Sftp.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92std::filesystem::path pathFromUtf8(std::string_view utf8Str)
93{
94#if defined(__cpp_lib_char8_t)
95 return {std::u8string(utf8Str.begin(), utf8Str.end())};
96#else
97 return std::filesystem::u8path(utf8Str);
98#endif
99}
100
101int makePermissions(std::filesystem::perms permissions)
102{

Callers 2

resolvePathMethod · 0.85
getDirectoryListingMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected