Skip to content
Snippets Groups Projects
Commit 231ee02e authored by Jonas Schrottenbaum's avatar Jonas Schrottenbaum
Browse files

Fixed documentation

parent bc0bdc33
No related branches found
No related tags found
1 merge request!4Add hasFile(Commit) Method
......@@ -128,10 +128,11 @@ public abstract class Reference {
}
/**
* Checks if this {@link Commit} contains the specified file.
* Checks if this {@link Reference} contains the specified file.
*
* @param file The file to check the {@link Commit} for existence.
* @return {@code True} if the {@link Commit} contains the file, {@code False} otherwise.
* @param file
* the file to check the {@link Commit} for existence
* @return {@code True} if the {@link Commit} contains the file, {@code False} otherwise
*/
public Optional<Boolean> hasFile(Path file) {
Optional<ProcessExecutor.ExecRes> result = git.exec(repo.getDir(), "cat-file",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment