Description Usage Arguments Details Value See Also Examples
Get the path or file extension allowing for extensions containing .
1 |
path |
object such as character, vector, ; values to be converted to character. Character values
should omitting the leading |
exts |
optional list of extensions, used when the extension contains a |
ext()
returns the extension of a file or path object. ext
returns (the first of):
extension matching the exts
arguments which uses the fs.exts
argument by default.
character vector after final period.
The fs::path_ext()
takes only the considers the last.
a fs_ext()
object.
fs::path_ext()
- This is nearly identical but does not allow extensions
containing .
(periods).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.