summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/lock_packages.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/lock_packages.lua
parent90f05f17328ccac2764fb80895ef72c4510d91f6 (diff)
improve more modules commentscomments
Diffstat (limited to 'xmake/modules/private/action/require/impl/lock_packages.lua')
-rw-r--r--xmake/modules/private/action/require/impl/lock_packages.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/lock_packages.lua b/xmake/modules/private/action/require/impl/lock_packages.lua
index 61cc19a85..4609146b7 100644
--- a/xmake/modules/private/action/require/impl/lock_packages.lua
+++ b/xmake/modules/private/action/require/impl/lock_packages.lua
@@ -48,6 +48,10 @@ function _lock_package(instance)
end
-- lock all required packages
+-- lock package versions
+--
+-- @param packages the packages table
+--
function main(packages)
if project.policy("package.requires_lock") then
local plat = config.plat() or os.subhost()