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

Function HasLeadingSlash

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

Source from the content-addressed store, hash-verified

103}
104
105inline bool HasLeadingSlash(std::string_view s) {
106 return !s.empty() && s.front() == kSep;
107}
108
109ARROW_EXPORT
110bool IsAncestorOf(std::string_view ancestor, std::string_view descendant);

Callers 2

GlobFilesFunction · 0.85
EnsureLeadingSlashFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected