read Script Pack
internal fun readScriptPack(parent: Path, configPath: Path, rootPath: Path, extension: String): RawScriptPack<Path>?(source)
Read the contents of a Koremods Script Pack at the specified path
Return
the parsed script pack in path form, or null if it contains no scripts
Parameters
parent
path to the pack's containing file
config Path
path to the pack's configuration file
root Path
root path of the script pack
extension
expected script extension