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

Method DeleteDirContents

python/pyarrow/src/arrow/python/filesystem.cc:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115Status PyFileSystem::DeleteDirContents(const std::string& path, bool missing_dir_ok) {
116 return SafeCallIntoPython([&]() -> Status {
117 vtable_.delete_dir_contents(handler_.obj(), path, missing_dir_ok);
118 return CheckPyError();
119 });
120}
121
122Status PyFileSystem::DeleteRootDirContents() {
123 return SafeCallIntoPython([&]() -> Status {

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
delete_dir_contentsMethod · 0.45

Tested by

no test coverage detected