MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / FindFileNext

Function FindFileNext

Source/SysW32/Utility/IOW32.cpp:150–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 bool FindFileNext( FindHandleT handle, FindDataT & data )
151 {
152 DAEDALUS_ASSERT( handle != -1, "Cannot search with invalid directory handle" );
153
154 _finddata_t _data;
155 while ( _findnext( handle, &_data ) != -1)
156 {
157 // Ignore hidden files (and '.' and '..')
158 if (_data.name[0] == '.')
159 continue;
160
161 IO::Path::Assign( data.Name, _data.name );
162 return true;
163 }
164
165 return false;
166 }
167
168 bool FindFileClose( FindHandleT handle )
169 {

Callers 1

FindFileOpenFunction · 0.70

Calls 1

AssignFunction · 0.85

Tested by

no test coverage detected