MCPcopy
hub / github.com/rolldown/tsdown / chdir

Function chdir

tests/utils.ts:244–248  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

242}
243
244export function chdir(dir: string) {
245 const oldCwd = process.cwd()
246 process.chdir(dir)
247 return (): void => process.chdir(oldCwd)
248}

Callers 3

plugin.test.tsFile · 0.90
e2e.test.tsFile · 0.90
testBuildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…