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

Method run

src/main/java/club/qqtim/command/Init.java:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 private boolean init;
18
19 @Override
20 public void run() {
21 ZitContext.init();
22 final RefValue refValue = new RefValue(true, String.format(ConstantVal.BASE_REFS_HEADS_PATH, ConstantVal.DEFAULT_BRANCH));
23 ZitContext.updateRef(ConstantVal.HEAD, refValue);
24 }
25}

Callers

nothing calls this directly

Calls 2

initMethod · 0.95
updateRefMethod · 0.95

Tested by

no test coverage detected