MCPcopy Create free account
hub / github.com/bumptop/BumpTop / getFileExtension

Method getFileExtension

trunk/win/Source/BT_FileSystemManager.cpp:922–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922QString FileSystemManager::getFileExtension(QString filePath)
923{
924 QFileInfo info(filePath);
925 if (info.filePath().contains(".") && !info.suffix().isEmpty())
926 return QString(".") + info.suffix().toLower();
927 return QString();
928}
929
930Watchable *FileSystemManager::getWatchObjFromPath(QString filePath)
931{

Callers 13

setFilePathMethod · 0.80
updateDirectoryMethod · 0.80
requestSourceUpdateMethod · 0.80
getTextBoundsMethod · 0.80
GetSystemIconInfoMethod · 0.80
loadImageDirAsObjectsFunction · 0.80
loadSampledImageMethod · 0.80
onSourceUpdateMethod · 0.80
loadPhotosFromCacheMethod · 0.80

Calls 4

QStringFunction · 0.50
containsMethod · 0.45
isEmptyMethod · 0.45
suffixMethod · 0.45

Tested by

no test coverage detected