| 454 | |
| 455 | |
| 456 | std::string extension(const std::string& filename) |
| 457 | { |
| 458 | auto idx = filename.find_last_of('.'); |
| 459 | if (idx == std::string::npos) |
| 460 | return std::string(); |
| 461 | return filename.substr(idx); |
| 462 | } |
| 463 | |
| 464 | |
| 465 | std::vector<std::string> glob(std::string path) |
no outgoing calls