MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / FirmwareFile

Method FirmwareFile

src/bootentry.cpp:2151–2157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2149}
2150
2151FilePath::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
2159auto FilePath::FirmwareFile::toEFIBootFilePath() const -> EFIBoot::File_path::MEDIA::Firmware_file
2160{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected