| 545 | } |
| 546 | |
| 547 | std::string_view Patch::PatchInfo::GetNamePart() const |
| 548 | { |
| 549 | const std::string::size_type pos = name.rfind('\\'); |
| 550 | std::string_view ret = name; |
| 551 | if (pos != std::string::npos) |
| 552 | ret = ret.substr(pos + 1); |
| 553 | return ret; |
| 554 | } |
| 555 | |
| 556 | std::string_view Patch::PatchInfo::GetNameParentPart() const |
| 557 | { |
no test coverage detected