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

Function get_suffix

src/misc/sysos.cpp:623–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621 }
622
623 string get_suffix ( const string & req ) {
624 auto np = req.find_last_of("\\/");
625 if ( np != string::npos ) {
626 return req.substr(np+1);
627 } else {
628 return req;
629 }
630 }
631
632 string g_dasRoot;
633

Callers 2

getDasRootFunction · 0.85
suffixMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected