isIgnored

fun isIgnored(path: Path): Boolean

fun isIgnored(ktFile: KtFile): Boolean

Runs isIgnored against a KtFile based on its relative path, or based on its absolutePath if basePath is not set.