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

Function writeGlobalConfig

test/e2e/utils.ts:187–191  ·  view source on GitHub ↗
(homeDir: string, lines: string[])

Source from the content-addressed store, hash-verified

185};
186
187export const writeGlobalConfig = (homeDir: string, lines: string[]): string => {
188 const configPath = path.resolve(homeDir, '.opencommit');
189 writeFileSync(configPath, lines.join('\n'));
190 return configPath;
191};
192
193export const seedMigrations = (
194 homeDir: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…