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

Method GetFileInfo

cpp/src/arrow/filesystem/filesystem.cc:139–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137Result<std::string> FileSystem::NormalizePath(std::string path) { return path; }
138
139Result<std::vector<FileInfo>> FileSystem::GetFileInfo(
140 const std::vector<std::string>& paths) {
141 std::vector<FileInfo> res;
142 res.reserve(paths.size());
143 for (const auto& path : paths) {
144 ARROW_ASSIGN_OR_RAISE(FileInfo info, GetFileInfo(path));
145 res.push_back(std::move(info));
146 }
147 return res;
148}
149
150namespace {
151

Callers 2

GetFileInfoAsyncMethod · 0.95
GetFileInfoGeneratorMethod · 0.95

Calls 5

push_backMethod · 0.80
SleepMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected