resolvePath

fun resolvePath(pathToResolve: String, resource: Identifier, tildePath: String? = null): Identifier?(source)

Resolves the absolute path of the given resource to resolve.

Return

The found resource or null, if the path is malformed

Parameters

pathToResolve

The path to resolve

resource

The resource file to start resolving at

tildePath

The path ~ represents, or null to disable this feature