isIgnored

fun isIgnored(path: Path): Boolean
  • If includes and excludes are not specified, return false.

  • If includes is specified but excludes is not, return false iff path matches any includes.

  • If includes is not specified but excludes is, return true iff path matches any excludes.

  • If includes and excludes are both specified, return false iff path matches any includes and path does not match any excludes.


fun isIgnored(ktFile: KtFile): Boolean

Runs isIgnored against a ktFile based on its absolutePath.