MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getIncludeFileName

Method getIncludeFileName

src/simulate/debug_info.cpp:872–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870 }
871
872 string FileAccess::getIncludeFileName ( const string & fileName, const string & incFileName ) const {
873 auto np = fileName.find_last_of("\\/");
874 if ( np != string::npos ) {
875 return fileName.substr(0,np+1) + incFileName;
876 } else {
877 return incFileName;
878 }
879 }
880
881
882 static string getModuleName ( const string & nameWithDots ) {

Callers 3

ds_lexer.cppFile · 0.45
ds2_lexer.cppFile · 0.45
getAllRequireReqFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected