MCPcopy Create free account
hub / github.com/RenderKit/embree / ext

Method ext

common/sys/filename.cpp:58–62  ·  view source on GitHub ↗

! returns the extension */

Source from the content-addressed store, hash-verified

56
57 /*! returns the extension */
58 std::string FileName::ext() const {
59 size_t pos = filename.find_last_of('.');
60 if (pos == std::string::npos) return "";
61 return filename.substr(pos+1);
62 }
63
64 /*! returns the extension */
65 FileName FileName::dropExt() const {

Callers 6

storeSTBFunction · 0.80
loadImageFromDiskFunction · 0.80
storeImageFunction · 0.80
mainMethod · 0.80
loadMethod · 0.80
storeMethod · 0.80

Calls 1

substrMethod · 0.80

Tested by

no test coverage detected