aboutsummaryrefslogtreecommitdiff
path: root/core/lfs_ext.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/lfs_ext.lua')
-rw-r--r--core/lfs_ext.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/lfs_ext.lua b/core/lfs_ext.lua
index 3b857477..25bbeb8d 100644
--- a/core/lfs_ext.lua
+++ b/core/lfs_ext.lua
@@ -100,6 +100,7 @@ end
-- returned path is not guaranteed to exist.
-- @param filename The relative or absolute path to a file.
-- @return string absolute path
+-- @name abspath
function lfs.abspath(filename, prefix)
if WIN32 then filename = filename:gsub('/', '\\') end
if not filename:find(not WIN32 and '^/' or '^%a:[/\\]') then