detekt-api
1.21.0-RC2

# isIgnored

fun isIgnored (path: Path ): Boolean
Content copied to clipboard

- If includes and excludes are not specified, always return true.

- 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
Content copied to clipboard

Runs isIgnored against a ktFile based on its absolutePath.