get_file_type

asdf.util.get_file_type(fd)[source]

Determine the file type of an open GenericFile instance.

Parameters:
fdasdf.generic_io.GenericFile
Returns:
asdf.util.FileType