Merge pull request #114 from mindw/add_get_directory

Add file.directory token
This commit is contained in:
starkos 2015-06-21 19:31:12 -04:00
commit 41dec88056

View File

@ -236,6 +236,11 @@
end
function fcfg_mt.directory(fcfg)
return path.getdirectory(fcfg.abspath)
end
function fcfg_mt.name(fcfg)
return path.getname(fcfg.abspath)
end