Function morpheus::determine_file_type(const std::filesystem::path&)
Defined in File file_types.cpp
-
FileTypes morpheus::determine_file_type(const std::filesystem::path &filename)
Determines the file type from a filename based on extension. For example, my_file.json would return
FileTypes::JSON
.- Parameters
- Returns
filename – path to a file. Does not need to exist
FileTypes