MCPcopy Index your code
hub / github.com/assaultcube/AC / unixpath

Function unixpath

source/src/stream.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79char *unixpath(char *s)
80{
81 for(char *t = s; (t = strchr(t, '\\')); *t++ = '/');
82 return s;
83}
84
85char *path(const char *s, bool copy)
86{

Callers 5

setMethod · 0.85
mountzipFunction · 0.85
fixzipnameFunction · 0.85
audiomanager.cppFile · 0.85
requirepackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected