| 581 | } |
| 582 | |
| 583 | static bool IsPathChildOf(fs::path x, const fs::path& parent) |
| 584 | { |
| 585 | auto xp = x.parent_path(); |
| 586 | while (xp != x) |
| 587 | { |
| 588 | if (xp == parent) |
| 589 | { |
| 590 | return true; |
| 591 | } |
| 592 | x = xp; |
| 593 | xp = x.parent_path(); |
| 594 | } |
| 595 | return false; |
| 596 | } |
| 597 | |
| 598 | static std::string ResolveFilenameForCapture(const fs::path& filename) |
| 599 | { |
no outgoing calls
no test coverage detected