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

Function concatenate_path

OgreMain/src/OgreFileSystem.cpp:159–165  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

157 }
158 //-----------------------------------------------------------------------
159 static String concatenate_path(const String& base, const String& name)
160 {
161 if (base.empty() || is_absolute_path(name.c_str()))
162 return name;
163 else
164 return base + '/' + name;
165 }
166 //-----------------------------------------------------------------------
167#ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE
168 static std::wstring to_wpath(const String& text, unsigned codepage = CP_UTF8)

Callers 6

findFilesMethod · 0.85
openMethod · 0.85
createMethod · 0.85
removeMethod · 0.85
existsMethod · 0.85
getModifiedTimeMethod · 0.85

Calls 2

is_absolute_pathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected