MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getRulesDirectoryPath

Function getRulesDirectoryPath

src/services/rules/rules.ts:143–148  ·  view source on GitHub ↗
(
	cwd: string,
	input: Pick<CreateRuleInput, "scope" | "kind" | "modeSlug">,
)

Source from the content-addressed store, hash-verified

141}
142
143export function getRulesDirectoryPath(
144 cwd: string,
145 input: Pick<CreateRuleInput, "scope" | "kind" | "modeSlug">,
146): string {
147 return getTargetRuleDirectory(cwd, input)
148}
149
150function getRuleDirectories(cwd: string, modes: readonly RulesMode[] = DEFAULT_MODES): RuleDirectoryInfo[] {
151 const globalRooDirectory = getGlobalRooDirectory()

Callers 1

handleOpenRulesDirectoryFunction · 0.90

Calls 1

getTargetRuleDirectoryFunction · 0.85

Tested by

no test coverage detected