summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.sha256.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-22 14:19:38 +0800
committerGitHub <noreply@github.com>2021-12-22 14:19:38 +0800
commit315cba61692efe7f06a5ad88cd1346d07b287a91 (patch)
treeb3407a26fa74b5708a9fed9d74024175a120ab9d /meta/3rd/OpenResty/library/resty.sha256.lua
parentec4f497aa2624d9dce29e1de0cfd28ecd85e7df3 (diff)
parentd31a2e506d65bdc113543af9e1fb4b200d8e7023 (diff)
downloadlua-language-server-315cba61692efe7f06a5ad88cd1346d07b287a91.zip
Merge pull request #873 from flrgh/chore/openresty-typedefs
Update OpenResty typedefs, annotations, and configuration
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.sha256.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.sha256.lua16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/3rd/OpenResty/library/resty.sha256.lua b/meta/3rd/OpenResty/library/resty.sha256.lua
index 4cf8441a..29e00eeb 100644
--- a/meta/3rd/OpenResty/library/resty.sha256.lua
+++ b/meta/3rd/OpenResty/library/resty.sha256.lua
@@ -1,8 +1,10 @@
---@meta
-resty_sha256={}
-function resty_sha256.final(self) end
-function resty_sha256.new(self) end
-function resty_sha256.reset(self) end
-resty_sha256._VERSION="0.11"
-function resty_sha256.update(self, s) end
-return resty_sha256 \ No newline at end of file
+
+---@class resty.sha256 : resty.string.checksum
+local sha256={}
+
+--- Create a new sha256 checksum object.
+---@return resty.sha256
+function sha256:new() end
+
+return sha256 \ No newline at end of file