-
Notifications
You must be signed in to change notification settings - Fork 112
get_filetype
wpferguson edited this page Jun 14, 2020
·
1 revision
get_filetype
get the filetype from a filename
local df = require "lib/dtutils.file"
local result = df.get_filetype(filepath)
filepath - string - path and filename
get_filetype returns the filetype from the supplied filepath
result - string - the filetype