MCPcopy Create free account
hub / github.com/apache/arrow / DeleteDirContents

Method DeleteDirContents

cpp/src/arrow/filesystem/hdfs.cc:500–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500Status HadoopFileSystem::DeleteDirContents(const std::string& path, bool missing_dir_ok) {
501 if (internal::IsEmptyPath(path)) {
502 return internal::InvalidDeleteDirContents(path);
503 }
504 return impl_->DeleteDirContents(path, missing_dir_ok);
505}
506
507Status HadoopFileSystem::DeleteRootDirContents() {
508 return impl_->DeleteDirContents("", /*missing_dir_ok=*/false);

Callers 1

DeleteRootDirContentsMethod · 0.45

Calls 2

IsEmptyPathFunction · 0.85
InvalidDeleteDirContentsFunction · 0.85

Tested by

no test coverage detected