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

Method setRootPathContext

src/main/java/club/qqtim/util/FileUtil.java:37–41  ·  view source on GitHub ↗
(String target)

Source from the content-addressed store, hash-verified

35
36
37 public static void setRootPathContext(String target) {
38 System.setProperty("user.dir", target);
39 POSIX posix = POSIXFactory.getPOSIX(new PosixHandler(), true);
40 posix.chdir(target);
41 }
42
43
44

Callers 3

pushMethod · 0.95
fetchMethod · 0.95
getRemoteRefsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected