Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg.metalog_add: document the new lua function $aum
Baptiste Daroussin committed 6 months ago
commit 24c8e9f8a110e1a60e72849f7ebb306bd6f1da69
parent a2f455f
1 file changed +10 -1
modified docs/pkg-lua-script.5
@@ -11,7 +11,7 @@
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
-
.Dd July 14, 2025
+
.Dd October 28, 2025
.Dt PKG-LUA-SCRIPT 5
.Os
.Sh NAME
@@ -120,6 +120,15 @@ if the files are identical,
if the files are different and
.Va >1
if an error occurred
+
.If Fn pkg.metalog_copy "source" "destination"
+
Will create an entry in the
+
.Qq metalog
+
if one has been defined which will clone the
+
metadata from the
+
.Va source
+
and use it for a new entry for
+
.Va destination
+
path.
.It Fn pkg.copy "source" "destination"
Copy a file preserving its attributes. return
.Va -1