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

Function StripPrefixAndFilename

cpp/src/arrow/dataset/partition.cc:836–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836std::string StripPrefixAndFilename(const std::string& path, const std::string& prefix) {
837 auto base_less = StripPrefix(path, prefix);
838 auto basename_filename = fs::internal::GetAbstractPathParent(base_less);
839 return basename_filename.first;
840}
841
842std::vector<std::string> StripPrefixAndFilename(const std::vector<std::string>& paths,
843 const std::string& prefix) {

Callers 2

InspectSchemasMethod · 0.85
TESTFunction · 0.85

Calls 6

StripPrefixFunction · 0.85
GetAbstractPathParentFunction · 0.85
emplace_backMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
pathMethod · 0.45

Tested by 1

TESTFunction · 0.68