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

Method AllFiles

cpp/src/arrow/filesystem/mockfs.cc:757–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757std::vector<MockFileInfo> MockFileSystem::AllFiles() {
758 auto guard = impl_->lock_guard();
759
760 std::vector<MockFileInfo> result;
761 impl_->DumpFiles("", impl_->RootDir(), &result);
762 return result;
763}
764
765Status MockFileSystem::CreateFile(const std::string& path, std::string_view contents,
766 bool recursive) {

Callers 1

FindFileMethod · 0.45

Calls 2

lock_guardMethod · 0.80
DumpFilesMethod · 0.80

Tested by 1

FindFileMethod · 0.36