MCPcopy
hub / github.com/continuedev/continue / getFileExtension

Function getFileExtension

core/config/workspace/workspaceBlocks.ts:88–93  ·  view source on GitHub ↗
(blockType: BlockType)

Source from the content-addressed store, hash-verified

86}
87
88function getFileExtension(blockType: BlockType): string {
89 if (blockType === "rules" || blockType === "prompts") {
90 return "md";
91 }
92 return "yaml";
93}
94
95export function getFileContent(blockType: BlockType): string {
96 if (blockType === "rules") {

Callers 1

findAvailableFilenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected