| 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("\\/"); |
no outgoing calls
no test coverage detected