checkModpackDir

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

modpackDir

The modpack directory.

configCheck

Collection of encountered errors, if any, for convenient result-checks.