MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / IsPath

Function IsPath

sourcecommon/File.cpp:400–409  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

398}
399//---------------------------------------------------------------------------
400bool IsPath(char * szName)
401{
402 if( !szName ) return false;
403 int i = lstrlen(szName);
404 for(i--; i>0; i--)
405 {
406 if( szName[i]==':' || szName[i]=='\\' ) return true;
407 }
408 return false;
409}
410//---------------------------------------------------------------------------
411String TFile::GetErrorMessage(void)
412{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected