Take a file extension and recode it.

gh_filetype(x, extract_extension = FALSE)

Arguments

x

Thing to be recoded

extract_extension

Do you first need to extract bit after period?