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