MCPcopy Create free account
hub / github.com/cursor/plugins / walk

Function walk

orchestrate/skills/orchestrate/scripts/cli/util.ts:241–248  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

239): boolean {
240 const seen = new Set<string>();
241 const walk = (name: string): boolean => {
242 if (seen.has(name)) return false;
243 seen.add(name);
244 const t = tasks.find(x => x.name === name);
245 if (!t) return false;
246 if (t.dependsOn.includes(opts.ancestor)) return true;
247 return t.dependsOn.some(dep => walk(dep));
248 };
249 return walk(opts.task);
250}
251

Callers 1

transitivelyDependsOnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected