MCPcopy Create free account
hub / github.com/experdot/pointer / validateWorkspacePath

Function validateWorkspacePath

src/renderer/src/services/workspaceService.ts:183–185  ·  view source on GitHub ↗
(dirPath: string)

Source from the content-addressed store, hash-verified

181 * 验证目录是否可作为工作区
182 */
183export async function validateWorkspacePath(dirPath: string): Promise<ValidateWorkspaceResult> {
184 return stores.workspace.validateWorkspacePath(dirPath)
185}
186
187export async function repairWorkspacePath(dirPath: string): Promise<WorkspaceRepairResult> {
188 const result = await stores.workspace.repairWorkspacePath(dirPath)

Callers 1

openFolderAsWorkspaceFunction · 0.70

Calls 1

validateWorkspacePathMethod · 0.65

Tested by

no test coverage detected