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

Function get_prefix

src/misc/sysos.cpp:614–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612 }
613
614 string get_prefix ( const string & req ) {
615 auto np = req.find_last_of("\\/");
616 if ( np != string::npos ) {
617 return req.substr(0,np);
618 } else {
619 return req;
620 }
621 }
622
623 string get_suffix ( const string & req ) {
624 auto np = req.find_last_of("\\/");

Callers 3

getDasRootFunction · 0.85
create_shared_libraryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected