MCPcopy
hub / github.com/github/awesome-copilot / captureWorkingDirectory

Function captureWorkingDirectory

extensions/site-studio/extension.mjs:422–426  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

420}
421
422function captureWorkingDirectory(ctx) {
423 if (!workspacePath && ctx?.session?.workingDirectory) {
424 workspacePath = ctx.session.workingDirectory;
425 }
426}
427
428function cloneJson(value) {
429 return JSON.parse(JSON.stringify(value));

Callers 1

extension.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected