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

Method initIndex

src/main/java/club/qqtim/context/ZitContext.java:302–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300 }
301
302 private static void initIndex() {
303 FileUtil.createFile("{}".getBytes(StandardCharsets.UTF_8), ConstantVal.INDEX);
304 }
305
306 private static void initRoot() {
307 FileUtil.mkdir(ConstantVal.ZIT_DIR);

Callers 1

initMethod · 0.95

Calls 1

createFileMethod · 0.95

Tested by

no test coverage detected