locateScripts

internal fun locateScripts(namespace: String, scripts: List<String>, rootPath: Path, scriptExt: String): List<RawScript<Path>>(source)

Locate defined scripts within a script pack at the given path

Return

a list of located scripts in path form

Parameters

namespace

the script pack's configured namespace

scripts

list of script paths relative to the pack's root

rootPath

root path of the script pack

scriptExt

expected script extension