You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
866 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/guess-content-type.R
\title{Guess MIME type from filename (extension)}
\item{path}{path to file}
character vector
Uses an internal database of over 1,500 file extension-to-MIME mappings to
return one or more associated types for a given input path. If no match is
found, \code{???} is returned.
Incorporates standard IANA MIME extension mappings and those from
\href{}{servoy-client} and
guess_content_type(system.file("extdat", "test.pdf", package="wand"))