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

Function getModuleName

src/simulate/debug_info.cpp:882–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880
881
882 static string getModuleName ( const string & nameWithDots ) {
883 auto idx = nameWithDots.find_last_of("./");
884 if ( idx==string::npos ) return nameWithDots;
885 return nameWithDots.substr(idx+1);
886 }
887
888 static string getModuleFileName ( const string & nameWithDots ) {
889 auto fname = nameWithDots;

Callers 1

getModuleInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected