No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
2 changed files with
2 additions and
2 deletions
-
R/guess-content-type.R
-
man/guess_content_type.Rd
|
|
@ -8,7 +8,7 @@ |
|
|
|
#' @param path path to file |
|
|
|
#' @param not_found MIME type to use when the content cannot be guessed by |
|
|
|
#' file type. |
|
|
|
#' @param custom_dbs a single data frames each with two columns: |
|
|
|
#' @param custom_db a single data frames each with two columns: |
|
|
|
#' `mime_type` and `extension`. These sources will be used along with |
|
|
|
#' the built-in sources and will take priority over the built-in sources. |
|
|
|
#' Note that the `extension`s should be lower case as they are in the |
|
|
|
|
|
@ -12,7 +12,7 @@ guess_content_type(path, not_found = "???", custom_db = NULL) |
|
|
|
\item{not_found}{MIME type to use when the content cannot be guessed by |
|
|
|
file type.} |
|
|
|
|
|
|
|
\item{custom_dbs}{a single data frames each with two columns: |
|
|
|
\item{custom_db}{a single data frames each with two columns: |
|
|
|
\code{mime_type} and \code{extension}. These sources will be used along with |
|
|
|
the built-in sources and will take priority over the built-in sources. |
|
|
|
Note that the \code{extension}s should be lower case as they are in the |
|
|
|