| 2149 | } |
| 2150 | |
| 2151 | FilePath::FirmwareFile::FirmwareFile(const EFIBoot::File_path::MEDIA::Firmware_file &_firmware_file) |
| 2152 | : _string{} |
| 2153 | , name{} |
| 2154 | { |
| 2155 | static_assert(sizeof(name) == sizeof(_firmware_file.name)); |
| 2156 | memcpy(reinterpret_cast<void *>(&name), &_firmware_file.name, sizeof(name)); |
| 2157 | } |
| 2158 | |
| 2159 | auto FilePath::FirmwareFile::toEFIBootFilePath() const -> EFIBoot::File_path::MEDIA::Firmware_file |
| 2160 | { |
nothing calls this directly
no outgoing calls
no test coverage detected