summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/actions/download_resources.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-31 00:01:06 +0800
committerruki <[email protected]>2026-03-31 00:01:06 +0800
commit53748c3a92f9f6c11453ed2f3a9af761275e732a (patch)
treeea8a2aab5e14c25aaa4b1a86098de01db84806b6 /xmake/modules/private/action/require/impl/actions/download_resources.lua
parent90f05f17328ccac2764fb80895ef72c4510d91f6 (diff)
improve more modules commentscomments
Diffstat (limited to 'xmake/modules/private/action/require/impl/actions/download_resources.lua')
-rw-r--r--xmake/modules/private/action/require/impl/actions/download_resources.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/download_resources.lua b/xmake/modules/private/action/require/impl/actions/download_resources.lua
index 30e7f9146..c185d25b0 100644
--- a/xmake/modules/private/action/require/impl/actions/download_resources.lua
+++ b/xmake/modules/private/action/require/impl/actions/download_resources.lua
@@ -164,6 +164,14 @@ function _download(package, resource_name, resource_url, resource_hash)
end
-- download all resources of the given package
+-- download the package resources
+--
+-- @param package the package instance
+--
+-- download the package resources
+--
+-- @param package the package instance
+--
function main(package)
-- we don't need to download it if we use the precompiled artifacts to install package