MCPcopy
hub / github.com/Dimillian/CodexMonitor / pickWorkspacePath

Function pickWorkspacePath

src/services/tauri.ts:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40export async function pickWorkspacePath(): Promise<string | null> {
41 const selection = await open({ directory: true, multiple: false });
42 if (!selection || Array.isArray(selection)) {
43 return null;
44 }
45 return selection;
46}
47
48export async function pickWorkspacePaths(): Promise<string[]> {
49 const selection = await open({ directory: true, multiple: true });

Callers 3

useClonePromptFunction · 0.90
useGitRootSelectionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected