]> git.e2factory.org Git - e2factory.git/commitdiff
Update e2lib.sha1sum documentation
authorTobias Ulmer <tu@emlix.com>
Fri, 12 Jul 2013 14:17:58 +0000 (16:17 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:01:23 +0000 (15:01 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua

index 0a2138559df2c909a4618ad2646c87f09af9c866..9d5df7cc0053552048df15e8971691fe593167c1 100644 (file)
@@ -1841,10 +1841,10 @@ function e2lib.isfile(path)
     return false
 end
 
---- calculate SHA1 sum for a file
+--- Calculate SHA1 sum of a file.
 -- @param path string: path
--- @return string: sha1 sum of file
--- @return an error object on failure
+-- @return SHA1 sum of file or false on error.
+-- @return Error object on failure.
 function e2lib.sha1sum(path)
     local rc, re, e, sha1sum, sha1sum_flags, cmd, p, msg, out, sha1, file