MCPcopy Create free account
hub / github.com/OGRECave/ogre / is_absolute_path

Function is_absolute_path

OgreMain/src/OgreFileSystem.cpp:150–157  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

148 }
149 //-----------------------------------------------------------------------
150 static bool is_absolute_path(const char* path)
151 {
152#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_WINRT
153 if (isalpha(uchar(path[0])) && path[1] == ':')
154 return true;
155#endif
156 return path[0] == '/' || path[0] == '\\';
157 }
158 //-----------------------------------------------------------------------
159 static String concatenate_path(const String& base, const String& name)
160 {

Callers 2

concatenate_pathFunction · 0.85
existsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected