mctc_io_filetype Module

File type support


Variables

Type Visibility Attributes Name Initial
type(enum_filetype), public, parameter :: filetype = enum_filetype()

File type enumerator


Functions

public elemental function get_filetype(file) result(ftype)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: file

Name of the file

Return Value integer

File type from extension