MCPcopy
hub / github.com/CopilotKit/CopilotKit / commitAll

Function commitAll

showcase/scripts/__tests__/test-cleanup.test.ts:58–63  ·  view source on GitHub ↗
(repo: string, msg: string)

Source from the content-addressed store, hash-verified

56}
57
58function commitAll(repo: string, msg: string): void {
59 const env = cleanGitEnv();
60 const opts = { cwd: repo, env, stdio: TEST_GIT_STDIO } as const;
61 execFileSync("git", ["add", "-A"], opts);
62 execFileSync("git", ["commit", "-q", "-m", msg], opts);
63}
64
65describe("FileSnapshotRestorer", () => {
66 let tmp: string;

Callers 1

Calls 1

cleanGitEnvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…