NVIDIA Morpheus (24.06)
(Latest Version)

Function morpheus::determine_file_type(const std::filesystem::path&)

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

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

Returns

FileTypes

Previous Function morpheus::determine_file_type(const std::string&)
Next Function morpheus::df_to_csv(const TableInfo&, std::ostream&, bool, bool, bool)
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.