check Modpack Dir
expect fun checkModpackDir(modpackDir: String, configCheck: ConfigCheck = ConfigCheck(), printLog: Boolean = true): ConfigCheck
actual open override fun checkModpackDir(modpackDir: String, configCheck: ConfigCheck, printLog: Boolean): ConfigCheck
Check the passed directory for existence and whether it is a directory, rather than a file.
Return
true
if the directory exists.
Author
Griefed
Parameters
modpack Dir
The modpack directory.
config Check
Collection of encountered errors, if any, for convenient result-checks.