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

Function IsDriveSpec

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

Source from the content-addressed store, hash-verified

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

Callers 2

pathMethod · 0.85
ParseMethod · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected