We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd21d8 commit 7a927a0Copy full SHA for 7a927a0
vcs/src/main/java/org/openjdk/skara/vcs/Repository.java
@@ -35,7 +35,13 @@
35
public interface Repository extends ReadOnlyRepository {
36
Repository init() throws IOException;
37
void checkout(Hash h, boolean force) throws IOException;
38
+ default void checkout(Hash h) throws IOException {
39
+ checkout(h, false);
40
+ }
41
void checkout(Branch b, boolean force) throws IOException;
42
+ default void checkout(Branch b) throws IOException {
43
+ checkout(b, false);
44
45
Hash fetch(URI uri, String refspec) throws IOException;
46
void fetchAll() throws IOException;
47
void pushAll(URI uri) throws IOException;
0 commit comments