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

Function CollectFileInfoGenerator

cpp/src/arrow/filesystem/test_util.cc:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void CollectFileInfoGenerator(FileInfoGenerator gen, FileInfoVector* out_infos) {
146 auto fut = CollectAsyncGenerator(gen);
147 ASSERT_FINISHES_OK_AND_ASSIGN(auto nested_infos, fut);
148 *out_infos = ::arrow::internal::FlattenVectors(nested_infos);
149}
150
151void AssertFileInfo(const FileInfo& info, const std::string& path, FileType type) {
152 ASSERT_EQ(info.path(), path);

Callers 3

TEST_FFunction · 0.85
localfs_test.ccFile · 0.85

Calls 2

CollectAsyncGeneratorFunction · 0.85
FlattenVectorsFunction · 0.85

Tested by

no test coverage detected