checkModpackDir

fun checkModpackDir(modpackDir: String, configCheck: ConfigCheck = ConfigCheck(), printLog: Boolean = true): 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.