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

Method DeleteRootDirContents

cpp/src/arrow/filesystem/filesystem.cc:412–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412Status SubTreeFileSystem::DeleteRootDirContents() {
413 if (base_path_.empty()) {
414 return base_fs_->DeleteRootDirContents();
415 } else {
416 return base_fs_->DeleteDirContents(base_path_);
417 }
418}
419
420Status SubTreeFileSystem::DeleteFile(const std::string& path) {
421 ARROW_ASSIGN_OR_RAISE(auto real_path, PrependBaseNonEmpty(path));

Callers

nothing calls this directly

Calls 3

SleepMethod · 0.80
emptyMethod · 0.45
DeleteDirContentsMethod · 0.45

Tested by

no test coverage detected