MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / is_dir

Function is_dir

dds/DCPS/FileSystemStorage.cpp:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool is_dir(const ACE_TCHAR* path)
134{
135 ACE_WString wpath = to_win32_long_path(path);
136 DWORD attrib = ::GetFileAttributesW(wpath.c_str());
137
138 if (attrib != INVALID_FILE_ATTRIBUTES) {
139 return attrib & FILE_ATTRIBUTE_DIRECTORY;
140 }
141
142 return false;
143}
144
145int dds_rmdir(const ACE_TCHAR* path)
146{

Callers 2

recursive_removeFunction · 0.85
scan_dirMethod · 0.85

Calls 1

to_win32_long_pathFunction · 0.85

Tested by

no test coverage detected