MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Basename

Function Basename

examples/VulkanBenchmark.cpp:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static std::string Basename(const std::string& path) {
211 const std::string::size_type slash = path.find_last_of('/');
212 return slash == std::string::npos ? path : path.substr(slash + 1);
213}
214
215static void DebugLog(const std::string& message) {
216 (void) message;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected