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

Method DeleteDirContents

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

Source from the content-addressed store, hash-verified

781}
782
783Status HadoopFileSystem::DeleteDirContents(const std::string& path, bool missing_dir_ok) {
784 if (internal::IsEmptyPath(path)) {
785 return internal::InvalidDeleteDirContents(path);
786 }
787 return impl_->DeleteDirContents(path, missing_dir_ok);
788}
789
790Status HadoopFileSystem::DeleteRootDirContents() {
791 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