| 273 | } |
| 274 | |
| 275 | bool Directory::dumpFiles(Vector<Path>& out) |
| 276 | { |
| 277 | const Path sourcePath = getName(); |
| 278 | |
| 279 | FileNode::Attributes currentAttributes; |
| 280 | while (read(¤tAttributes)) |
| 281 | { |
| 282 | Path currentPath = sourcePath; |
| 283 | currentPath.appendPath(currentPath.getFileName()); |
| 284 | currentPath.setFileName(currentAttributes.name); |
| 285 | |
| 286 | if (IsFile(currentPath)) |
| 287 | { |
| 288 | out.push_back(currentPath); |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | return true; |
| 293 | } |
| 294 | |
| 295 | bool Directory::dumpDirectories(Vector<Path>& out) |
| 296 | { |
nothing calls this directly
no test coverage detected