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

Function ValidateSubPath

cpp/src/arrow/filesystem/filesystem.cc:280–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278namespace {
279
280Status ValidateSubPath(std::string_view s) {
281 if (internal::IsLikelyUri(s)) {
282 return Status::Invalid("Expected a filesystem path, got a URI: '", s, "'");
283 }
284 return Status::OK();
285}
286
287} // namespace
288

Callers 2

PrependBaseMethod · 0.85
PrependBaseNonEmptyMethod · 0.85

Calls 3

IsLikelyUriFunction · 0.85
InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected