MCPcopy Create free account
hub / github.com/PDAL/PDAL / directoryExists

Function directoryExists

pdal/util/FileUtils.cpp:207–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206
207bool directoryExists(const std::string& dirname)
208{
209 VSIStatBufL sStat;
210 if (VSIStatL(dirname.c_str(), &sStat) == 0)
211 {
212 return VSI_ISDIR(sStat.st_mode);
213 }
214 else
215 {
216 return false;
217 }
218}
219
220
221bool createDirectory(const std::string& dirname)

Callers 13

TESTFunction · 0.85
readyMethod · 0.85
readyMethod · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
SetUpMethod · 0.85

Calls

no outgoing calls

Tested by 10

TESTFunction · 0.68
SetUpMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
SetUpMethod · 0.68