MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Platform_EncodePath

Function Platform_EncodePath

src/Platform_Posix.c:287–290  ·  view source on GitHub ↗

#######################################################################################################################* *-----------------------------------------------------Directory/File------------------------------------------------------* *#########################################################################################################################*/

Source from the content-addressed store, hash-verified

285*-----------------------------------------------------Directory/File------------------------------------------------------*
286*#########################################################################################################################*/
287void Platform_EncodePath(cc_filepath* dst, const cc_string* path) {
288 char* str = dst->buffer;
289 String_EncodeUtf8(str, path);
290}
291
292void Platform_DecodePath(cc_string* dst, const cc_filepath* path) {
293 const char* str = path->buffer;

Callers 2

Directory_EnumFunction · 0.70
DynamicLib_Load2Function · 0.70

Calls 1

String_EncodeUtf8Function · 0.85

Tested by

no test coverage detected