Skip to content
Snippets Groups Projects
Commit 5f63eb3d authored by Georg Seibt's avatar Georg Seibt :nerd:
Browse files

Getter for the Repository a Reference belongs to.

parent dbde1fb4
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,15 @@ public abstract class Reference {
return id;
}
/**
* Returns the {@link Repository} that this {@link Reference} belongs to.
*
* @return the {@link Repository} this {@link Reference} belongs to
*/
public Repository getRepo() {
return repo;
}
/**
* Optionally returns the merge base for <code>this</code> and <code>other</code>. The <code>other</code> reference
* must be part of the same {@link Repository} this {@link Reference} is.
......
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