summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.sha1.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.sha1.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.sha1.lua16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/3rd/OpenResty/library/resty.sha1.lua b/meta/3rd/OpenResty/library/resty.sha1.lua
index 32440187..85d5ace1 100644
--- a/meta/3rd/OpenResty/library/resty.sha1.lua
+++ b/meta/3rd/OpenResty/library/resty.sha1.lua
@@ -1,8 +1,10 @@
---@meta
-resty_sha1={}
-function resty_sha1.final(self) end
-function resty_sha1.new(self) end
-function resty_sha1.reset(self) end
-resty_sha1._VERSION="0.11"
-function resty_sha1.update(self, s) end
-return resty_sha1 \ No newline at end of file
+
+---@class resty.sha1 : resty.string.checksum
+local sha1={}
+
+--- Create a new sha1 checksum object.
+---@return resty.sha1
+function sha1:new() end
+
+return sha1 \ No newline at end of file