MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / emptyDir

Function emptyDir

core/filetools.cpp:121–125  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

119
120//---------------------------------------------------------------------------
121 bool emptyDir(const std::string &name)
122 {
123 if (!dirExists(name)) return false;
124 return fs::is_empty(fs::path(name));
125 }
126
127//---------------------------------------------------------------------------
128 bool copyFile(const std::string &source, const std::string &target, bool overwrite, bool copyAttributes)

Callers 3

deleteDirFunction · 0.85
copyDirectoryFunction · 0.85
getEmptyTempDirFunction · 0.85

Calls 1

dirExistsFunction · 0.85

Tested by

no test coverage detected