MCPcopy Create free account
hub / github.com/ReZeroS/git / getRemoteRefs

Method getRemoteRefs

src/main/java/club/qqtim/command/Fetch.java:76–85  ·  view source on GitHub ↗
(String remotePath)

Source from the content-addressed store, hash-verified

74 }
75
76 public static List<RefObjValue> getRemoteRefs(String remotePath) {
77 final String currentDir = FileUtil.getCurrentDir();
78 FileUtil.setRootPathContext(remotePath);
79
80 final List<RefObjValue> remoteRefs = getRemoteRefs(remotePath, ConstantVal.EMPTY);
81
82 FileUtil.setRootPathContext(currentDir);
83
84 return remoteRefs;
85 }
86
87 public static List<RefObjValue> getRemoteRefs(String remotePath, String prefix) {
88

Callers 2

pushMethod · 0.95
fetchMethod · 0.95

Calls 3

getCurrentDirMethod · 0.95
setRootPathContextMethod · 0.95
iteratorRefsMethod · 0.95

Tested by

no test coverage detected