| 255 | // ---------------------------------------------------------------------------------------- |
| 256 | |
| 257 | std::string http_client::get_basename( const std::string& filename ) const |
| 258 | { |
| 259 | std::string::size_type pos = filename.find_last_of("\\/"); |
| 260 | if ( pos == std::string::npos ) |
| 261 | return filename; |
| 262 | else |
| 263 | return filename.substr(pos+1); |
| 264 | } |
| 265 | |
| 266 | // ---------------------------------------------------------------------------------------- |
| 267 |
nothing calls this directly
no outgoing calls
no test coverage detected