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

Function MakeFilenameVector

cpp/src/arrow/filesystem/hdfs_internal.cc:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 DCHECK_OK(SetSymbol<false>(SHIM->handle, #SYMBOL_NAME, &SHIM->SYMBOL_NAME));
85
86Result<std::vector<PlatformFilename>> MakeFilenameVector(
87 const std::vector<std::string>& names) {
88 std::vector<PlatformFilename> filenames(names.size());
89 for (size_t i = 0; i < names.size(); ++i) {
90 ARROW_ASSIGN_OR_RAISE(filenames[i], PlatformFilename::FromString(names[i]));
91 }
92 return filenames;
93}
94
95void AppendEnvVarFilename(const char* var_name,
96 std::vector<PlatformFilename>* filenames) {

Callers 1

Calls 3

FromStringFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected