aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/lua.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/fs/lua.lua b/src/luarocks/fs/lua.lua
index 69c75cec..ede7884a 100644
--- a/src/luarocks/fs/lua.lua
+++ b/src/luarocks/fs/lua.lua
@@ -743,6 +743,8 @@ if not md5.sumhexa and md5.digest then
743 end 743 end
744end 744end
745 745
746if md5.sumhexa then
747
746--- Get the MD5 checksum for a file. 748--- Get the MD5 checksum for a file.
747-- @param file string: The file to be computed. 749-- @param file string: The file to be computed.
748-- @return string: The MD5 checksum or nil + error 750-- @return string: The MD5 checksum or nil + error
@@ -757,6 +759,7 @@ function fs_lua.get_md5(file)
757end 759end
758 760
759end 761end
762end
760 763
761--------------------------------------------------------------------- 764---------------------------------------------------------------------
762-- POSIX functions 765-- POSIX functions