Function morpheus::determine_file_type(const std::string&)

FileTypes morpheus::determine_file_type(const std::string &filename)

Determines the file type from a filename based on extension. For example, my_file.json would return FileTypes::JSON.

Parameters

filename – String to a file. Does not need to exist

Returns

FileTypes

Previous Template Function morpheus::detail::validate_stride
Next Function morpheus::determine_file_type(const std::filesystem::path&)
© Copyright 2024, NVIDIA. Last updated on Apr 11, 2024.