MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / pathOfFileUrl

Function pathOfFileUrl

src/image.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119#ifdef EXV_ENABLE_FILESYSTEM
120std::string pathOfFileUrl(const std::string& url) {
121 std::string path = url.substr(7);
122 size_t found = path.find('/');
123 return (found == std::string::npos) ? path : path.substr(found);
124}
125#endif
126
127} // namespace

Callers 1

createIoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected