aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-02 14:04:52 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-02 14:50:08 +0530
commit2d554cf2c2887ff2513467ef21778b6dcbb374cf (patch)
treef10655d39ce06b53e3a5160d64eafbeba61cbec7 /lib
parent12b4709c4623ba45744e1e14f567776fe04bd2db (diff)
lib/curl: curl.zip_to_local_file -> zip_link_to_file
Diffstat (limited to 'lib')
-rw-r--r--lib/curl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl.lua b/lib/curl.lua
index c8ae478..a152bd0 100644
--- a/lib/curl.lua
+++ b/lib/curl.lua
@@ -45,7 +45,7 @@ local get = function (url, headr, args)
return fetch, tonumber(hcode)
end
-local zip_to_local_file = function (url, headr, out, retries)
+local zip_link_to_file = function (url, headr, out, retries)
local tries, hcode, zip, zcode
tries = 0
@@ -66,5 +66,5 @@ end
return {
get = get,
- zip_to_local_file = zip_to_local_file,
+ zip_link_to_file = zip_link_to_file,
}