MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / empty

Method empty

src/openms/source/SYSTEM/File.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 bool File::empty(const String& file)
139 {
140 QFileInfo fi(file.toQString());
141 return !fi.exists() || fi.size() == 0;
142 }
143
144 bool File::executable(const String& file)
145 {

Callers 10

runMethod · 0.45
canRunMethod · 0.45
findMethod · 0.45
fileListMethod · 0.45
getTempDirectoryMethod · 0.45
getUserDirectoryMethod · 0.45
getTemporaryFileMethod · 0.45
downloadMethod · 0.45
findRMethod · 0.45
canRunMethod · 0.45

Calls 3

toQStringMethod · 0.45
existsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected