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

Function JoinAbstractPath

cpp/src/arrow/filesystem/path_util.h:132–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130// Join the components of an abstract path.
131template <class StringIt>
132std::string JoinAbstractPath(StringIt it, StringIt end, char sep = kSep) {
133 std::string path;
134 for (; it != end; ++it) {
135 if (it->empty()) continue;
136
137 if (!path.empty()) {
138 path += sep;
139 }
140 path += *it;
141 }
142 return path;
143}
144
145template <class StringRange>
146std::string JoinAbstractPath(const StringRange& range, char sep = kSep) {

Callers 8

FormatValuesMethod · 0.85
FileFromRowGroupFunction · 0.85
EXPECT_OK_AND_ASSIGNFunction · 0.85
parentMethod · 0.85
parentMethod · 0.85
TESTFunction · 0.85
CreateDirMethod · 0.85
AncestorsFromBasePathFunction · 0.85

Calls 3

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 2

EXPECT_OK_AND_ASSIGNFunction · 0.68
TESTFunction · 0.68