MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / isUUID

Function isUUID

CloverPackage/utils/partutil/partutil.c:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74#pragma mark -
75
76static
77bool isUUID(const char* string) {
78 if (strlen(string) == 36 &&
79 string[8] == '-' && string[13] == '-' &&
80 string[18] == '-' && string[23] == '-')
81 return true;
82 return false;
83}
84
85static
86char const* toBSDName(char const* pathName)

Callers 2

doSearchFunction · 0.85
mainFunction · 0.85

Calls 1

strlenFunction · 0.50

Tested by

no test coverage detected