MCPcopy Create free account
hub / github.com/Effect-TS/effect / linkDirectory

Function linkDirectory

packages/effect/typeperf/compare.mjs:116–121  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

114const tscPath = join(typescriptDir, "lib", "tsc.js")
115
116const linkDirectory = (source, target) => {
117 if (existsSync(target)) {
118 return
119 }
120 symlinkSync(source, target, process.platform === "win32" ? "junction" : "dir")
121}
122
123const materializeSuite = (targetRepoRoot, suite) => {
124 const targetEffectDir = join(targetRepoRoot, "packages", "effect")

Callers 1

createWorktreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected