addRoot

fun addRoot(rootName: String, location: String, withFailures: (List<String>) -> Unit)

Create and add a root to the rootMap.

Parameters

rootName

The name for the new ModuleRoot.

location

The String representation of the URI for the base of the new ModuleRoot.

withFailures

What to invoke, with a List of new failure report strings, after the root has been added and scanned.