MCPcopy Create free account
hub / github.com/Kitware/CMake / if

Function if

Source/kwsys/SystemTools.cxx:3594–3598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3592 }
3593#ifdef HAVE_GETPWNAM
3594 else if (passwd* pw = getpwnam(root.c_str() + 1)) {
3595 if (pw->pw_dir) {
3596 homedir = pw->pw_dir;
3597 }
3598 }
3599#endif
3600 if (!homedir.empty() &&
3601 (homedir.back() == '/' || homedir.back() == '\\')) {

Callers 2

PatternToRegexMethod · 0.70
QCMakeSearchFilterClass · 0.50

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected