Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
105
inline bool HasLeadingSlash(std::string_view s) {
106
return !s.empty() && s.front() == kSep;
107
}
108
109
ARROW_EXPORT
110
bool IsAncestorOf(std::string_view ancestor, std::string_view descendant);
Callers
2
GlobFiles
Function · 0.85
EnsureLeadingSlash
Function · 0.85
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected