@ScannerSide public interface IgnoreCommand
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
To be called after the last call to
isIgnored(Path). |
void |
init(java.nio.file.Path baseDir)
Must be called before the calling
isIgnored(Path)
It should contains any operation (e.g. |
boolean |
isIgnored(java.nio.file.Path file)
Check if a file is ignored by the scm.
|
boolean isIgnored(java.nio.file.Path file)
init(Path) must be called before the first call to this method and clean() after the last onefile - Absolute path of a project filevoid init(java.nio.file.Path baseDir)
isIgnored(Path)
It should contains any operation (e.g. building cache) required before handling isIgnored(Path) calls.baseDir - the root directory of the projectvoid clean()
isIgnored(Path).
Cache or any other resources used should be cleared.