Add exists_in_package script function (#86)

* add exists_in_package script function

* Update index.txt
This commit is contained in:
GenevensiS
2024-09-27 04:03:27 +02:00
committed by GitHub
parent d0522f6a09
commit e72ee85525
8 changed files with 80 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
Function: exists_in_package
--Usage--
> exists_in_package("/package/filename")
Check if a file exists in a given package.
--Parameters--
! Parameter Type Description
| @input@ [[type:string]] Path of the file, starting from the data directory.
--Examples--
> exists_in_package("/magic-modules.mse-include/watermarks/custom_user_watermark.png") == true