MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / CheckForDirectory

Function CheckForDirectory

src/External/CascLib/src/CascFiles.cpp:1422–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420}
1421
1422static LPTSTR CheckForDirectory(LPCTSTR szParentFolder, LPCTSTR szSubFolder)
1423{
1424 CASC_PATH<TCHAR> LocalPath(szParentFolder, szSubFolder, NULL);
1425 LPTSTR szLocalPath = NULL;
1426
1427 // Check whether the path exists
1428 if(DirectoryExists(LocalPath))
1429 szLocalPath = LocalPath.New();
1430 return szLocalPath;
1431}
1432
1433static LPTSTR CheckForDirectories(LPCTSTR szParentFolder, ...)
1434{

Callers 2

CheckForDirectoriesFunction · 0.85

Calls 2

DirectoryExistsFunction · 0.85
NewMethod · 0.45

Tested by

no test coverage detected