Function game_library::data_loader::read_file_header
source · pub fn read_file_header(path: &str) -> Option<DataFileHeader>
Expand description
Read in an ingestible file and return the header information from it.
This will return None if the file is un-readable or ill-formatted.
What this does return on success is the FileHeader
, mainly the unique ID for the file,
the version info, the system it has data for, author, and description.