MCPcopy Index your code
hub / github.com/simstudioai/sim / isWorkspacePlanAliasPath

Function isWorkspacePlanAliasPath

apps/sim/lib/copilot/vfs/workflow-aliases.ts:276–282  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

274}
275
276export function isWorkspacePlanAliasPath(path: string): boolean {
277 const normalizedPath = path.trim().replace(/^\/+|\/+$/g, '')
278 return (
279 normalizedPath === WORKFLOW_PLANS_ALIAS_DIR ||
280 normalizedPath.startsWith(`${WORKFLOW_PLANS_ALIAS_DIR}/`)
281 )
282}
283
284export function isPlanAliasPath(path: string): boolean {
285 return isWorkspacePlanAliasPath(path) || isWorkflowAliasPath(path)

Callers 1

isPlanAliasPathFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected