MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / isWindowsDrivePath

Function isWindowsDrivePath

src/storage/storage_utils.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25#if defined(_WIN32) || defined(__EMSCRIPTEN__)
26static bool isWindowsDrivePath(std::string_view path) {
27 return path.length() >= 2 && std::isalpha(static_cast<unsigned char>(path[0])) &&
28 path[1] == ':';
29}
30
31static bool isWindowsUNCPath(std::string_view path) {
32 return path.length() >= 2 &&

Callers 1

expandPathMethod · 0.85

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected