MCPcopy Index your code
hub / github.com/continuedev/continue / createRuleFilePath

Function createRuleFilePath

core/config/markdown/utils.ts:19–27  ·  view source on GitHub ↗
(
  workspaceDir: string,
  ruleName: string,
)

Source from the content-addressed store, hash-verified

17 * Creates the file path for a rule in the workspace .continue/rules directory
18 */
19export function createRuleFilePath(
20 workspaceDir: string,
21 ruleName: string,
22): string {
23 return joinPathsToUri(
24 workspaceDir,
25 ...createRelativeRuleFilePathParts(ruleName),
26 );
27}

Callers 2

createRuleBlockImplFunction · 0.90
utils.vitest.tsFile · 0.90

Calls 2

joinPathsToUriFunction · 0.90

Tested by

no test coverage detected