MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / DirectoryExists

Method DirectoryExists

src/Setup/UpdateRunner.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool CUpdateRunner::DirectoryExists(wchar_t* szPath)
132{
133 DWORD dwAttrib = GetFileAttributes(szPath);
134
135 return (dwAttrib != INVALID_FILE_ATTRIBUTES &&
136 (dwAttrib & FILE_ATTRIBUTE_DIRECTORY));
137}
138
139bool CUpdateRunner::DirectoryIsWritable(wchar_t * szPath)
140{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected