| 256 | Directory::~Directory() {} |
| 257 | |
| 258 | bool Directory::dump(Vector<Path>& out) |
| 259 | { |
| 260 | const Path sourcePath = getName(); |
| 261 | |
| 262 | FileNode::Attributes currentAttributes; |
| 263 | while (read(¤tAttributes)) |
| 264 | { |
| 265 | Path currentPath = sourcePath; |
| 266 | currentPath.appendPath(currentPath.getFileName()); |
| 267 | currentPath.setFileName(currentAttributes.name); |
| 268 | |
| 269 | out.push_back(currentPath); |
| 270 | } |
| 271 | |
| 272 | return true; |
| 273 | } |
| 274 | |
| 275 | bool Directory::dumpFiles(Vector<Path>& out) |
| 276 | { |
nothing calls this directly
no test coverage detected