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

Function IsDriveSpec

cpp/src/arrow/util/uri.cc:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53#ifdef _WIN32
54bool IsDriveSpec(const std::string_view s) {
55 return (s.length() >= 2 && s[1] == ':' &&
56 ((s[0] >= 'A' && s[0] <= 'Z') || (s[0] >= 'a' && s[0] <= 'z')));
57}
58#endif
59
60} // namespace

Callers 2

pathMethod · 0.85
ParseMethod · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected