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

Function IsEmptyPath

cpp/src/arrow/filesystem/path_util.cc:331–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331bool IsEmptyPath(std::string_view v) {
332 for (const auto c : v) {
333 if (c != '/') {
334 return false;
335 }
336 }
337 return true;
338}
339
340bool IsLikelyUri(std::string_view v) {
341 if (v.empty() || v[0] == '/') {

Callers 4

DeleteDirContentsMethod · 0.85
DeleteDirContentsMethod · 0.85
DeleteDirContentsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected