MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / pathMatches

Function pathMatches

src/integrations/claude-plugins.ts:52–56  ·  view source on GitHub ↗
(cwd: string, projectPath: string)

Source from the content-addressed store, hash-verified

50}
51
52function pathMatches(cwd: string, projectPath: string): boolean {
53 const a = path.resolve(cwd);
54 const b = path.resolve(projectPath);
55 return a === b || a.startsWith(b + path.sep);
56}
57
58/**
59 * Installed Claude Code plugins relevant to `cwd`: user-scope plugins always apply;

Callers 1

relevantPluginPathsFunction · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected