| 115 | } |
| 116 | |
| 117 | ObjectEntryDescriptor ObjectEntryDescriptor::Parse(std::string_view identifier) |
| 118 | { |
| 119 | if (identifier.size() == 26 && identifier[8] == '|' && identifier[17] == '|') |
| 120 | { |
| 121 | RCTObjectEntry entry{}; |
| 122 | entry.flags = ParseHex(identifier.substr(0, 8)); |
| 123 | entry.SetName(identifier.substr(9, 8)); |
| 124 | entry.checksum = ParseHex(identifier.substr(18)); |
| 125 | return ObjectEntryDescriptor(entry); |
| 126 | } |
| 127 | return ObjectEntryDescriptor(identifier); |
| 128 | } |
| 129 | |
| 130 | bool ObjectEntryDescriptor::operator==(const ObjectEntryDescriptor& rhs) const |
| 131 | { |
nothing calls this directly
no test coverage detected