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

Function MakeDirectory

src/External/CascLib/src/common/Directory.cpp:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool MakeDirectory(LPCTSTR szDirectory)
42{
43#ifdef CASCLIB_PLATFORM_WINDOWS
44
45 BOOL bResult = CreateDirectory(szDirectory, NULL);
46 return (bResult) ? true : false;
47
48#else
49
50 return (mkdir(szDirectory, 0755) == 0);
51
52#endif
53}
54
55DWORD ScanDirectory(
56 LPCTSTR szDirectory,

Callers 1

ForcePathExistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected