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

Method pushObject

src/main/java/club/qqtim/context/ZitContext.java:358–361  ·  view source on GitHub ↗
(String objectId, String remotePath)

Source from the content-addressed store, hash-verified

356 }
357
358 public static void pushObject(String objectId, String remotePath) {
359 remotePath += "/.zit";
360 FileUtil.copy(String.format(ConstantVal.OBJECTS_DIR + "/%s", objectId), String.format("%s/objects/%s", remotePath, objectId));
361 }
362
363}

Callers 1

pushMethod · 0.95

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected