MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / pickDirectory

Function pickDirectory

ai-code-studio/src/components/SetupWizard.tsx:112–120  ·  view source on GitHub ↗
(target: 'workspaceDir' | 'clawProjectDir')

Source from the content-addressed store, hash-verified

110 }
111
112 async function pickDirectory(target: 'workspaceDir' | 'clawProjectDir') {
113 const nextPath = await window.clawDesktop?.pickDirectory?.();
114 if (nextPath) {
115 setConfig(current => ({
116 ...current,
117 [target]: nextPath,
118 }));
119 }
120 }
121
122 async function pickBinaryPath() {
123 const nextPath = await window.clawDesktop?.pickFile?.([

Callers 1

SetupWizardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected