forked from darktable-org/lua-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
get_filetype
deekayhd edited this page Mar 29, 2026
·
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