lua.wetgenes.path.ext
local ext=wpath.ext(path)
This is a small utility function to perform a wpath.resolve then wpath.parse and return the ext component of the result.
local ext=wpath.ext(path)
This is a small utility function to perform a wpath.resolve then wpath.parse and return the ext component of the result.