MCPcopy Create free account
hub / github.com/LAStools/LAStools / file_exists

Function file_exists

LASzip/src/mydefs.cpp:837–844  ·  view source on GitHub ↗

Does the file exist

Source from the content-addressed store, hash-verified

835
836/// Does the file exist
837BOOL file_exists(const std::string& path) {
838 FILE* file = std::fopen(path.c_str(), "r");
839 if (file) {
840 fclose(file);
841 return TRUE;
842 }
843 return FALSE;
844}
845
846/// Get the digits
847I32 get_digits(F64 scale_factor) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected