| 53 | } |
| 54 | |
| 55 | void Package::addFolder(Path folder) { |
| 56 | if(!folder.has_parent_path()) { |
| 57 | return; |
| 58 | } |
| 59 | do { |
| 60 | folders.insert(folder); |
| 61 | folder = folder.parent_path(); |
| 62 | } while(folder.has_parent_path()); |
| 63 | } |
| 64 | |
| 65 | void Package::addLink(const Path& path, const Path& target) { |
| 66 | addFolder(path.parent_path()); |
no test coverage detected