withPath

fun <T : KoPathProvider> List<T>.withPath(path: String, vararg paths: String, absolutePath: Boolean = false): List<T>

List containing declarations with path.

Return

A list containing declarations that reside in any of the specified paths.

Parameters

path

The path to include.

paths

The paths to include.

absolutePath

Determines whether the paths should be treated as absolute paths. By default, false.


fun <T : KoPathProvider> List<T>.withPath(paths: Collection<String>, absolutePath: Boolean = false): List<T>

List containing declarations with path.

Return

A list containing declarations that reside in any of the specified paths.

Parameters

paths

The paths to include.

absolutePath

Determines whether the paths should be treated as absolute paths. By default, false.