Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method | Description |
---|---|---|
CleanCommand |
Git.clean() |
Returns a command object to execute a
clean command |
CleanCommand |
CleanCommand.setCleanDirectories(boolean dirs) |
If dirs is set, in addition to files, also clean directories.
|
CleanCommand |
CleanCommand.setDryRun(boolean dryRun) |
If dryRun is set, the paths in question will not actually be deleted.
|
CleanCommand |
CleanCommand.setIgnore(boolean ignore) |
If ignore is set, don't report/clean files/directories that are ignored
by a .gitignore.
|
CleanCommand |
CleanCommand.setPaths(Set<String> paths) |
If paths are set, only these paths are affected by the cleaning.
|
Copyright © 2018. All rights reserved.