MCPcopy
hub / github.com/di-sukharev/opencommit / commitlintLLMConfigExists

Function commitlintLLMConfigExists

out/cli.cjs:85131–85140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85129 const jsonIndex = input.search("```json");
85130 if (jsonIndex > -1) {
85131 input = input.slice(jsonIndex + 8);
85132 const endJsonIndex = input.search("```");
85133 input = input.slice(0, endJsonIndex);
85134 }
85135 return input;
85136};
85137var commitlintLLMConfigExists = async () => {
85138 let exists;
85139 try {
85140 await import_promises2.default.access(COMMITLINT_LLM_CONFIG_PATH);
85141 exists = true;
85142 } catch (e3) {
85143 exists = false;

Callers 2

getMainCommitPromptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…