|
|
|
@ -42,14 +42,6 @@ enum class FileType { |
|
|
|
*/ |
|
|
|
FileType IdentifyFile(FileSys::VirtualFile file); |
|
|
|
|
|
|
|
/** |
|
|
|
* Identifies the type of a bootable file based on the magic value in its header. |
|
|
|
* @param file_name path to file |
|
|
|
* @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine |
|
|
|
* a filetype, and will never return FileType::Error. |
|
|
|
*/ |
|
|
|
FileType IdentifyFile(const std::string& file_name); |
|
|
|
|
|
|
|
/** |
|
|
|
* Guess the type of a bootable file from its name |
|
|
|
* @param name String name of bootable file |
|
|
|
|