| 222 | } |
| 223 | |
| 224 | void Delete(const Path& path) override |
| 225 | { |
| 226 | auto parent = Find(path.parent()); |
| 227 | if (!parent) |
| 228 | return; |
| 229 | |
| 230 | auto child = Find(path); |
| 231 | if (!child) |
| 232 | return; |
| 233 | |
| 234 | Clear(path); |
| 235 | _byItem.erase(child->item); |
| 236 | parent->children.erase(child->dirent->filename); |
| 237 | ItemDeleted(parent->item, child->item); |
| 238 | } |
| 239 | |
| 240 | void RemoveStub(const Path& path) override |
| 241 | { |
no test coverage detected