Description Usage Arguments Value
Get the file extension of a package archive if it is valid (tar.gz
, tgz
or zip
).
An error is thrown if the extension is not valid.
1 | package_ext(archive_file)
|
archive_file |
Path to a package archive. |
The file extension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.