| 85 | |
| 86 | |
| 87 | static bool fileIsOkay(const std::string& name) |
| 88 | { |
| 89 | if (!FileUtils::fileExists(name)) |
| 90 | return false; |
| 91 | // 375 is the size of the LAS header. |
| 92 | if (FileUtils::fileSize(name) < 375) |
| 93 | return false; |
| 94 | return true; |
| 95 | } |
| 96 | |
| 97 | |
| 98 | static bool fileIsCompressed(const std::string& name) |
no test coverage detected