MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / git

Function git

packages/server/test/fs-git.e2e.test.ts:133–145  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

131}
132
133function git(args: string[]): void {
134 execFileSync('git', args, {
135 cwd: workspace,
136 stdio: 'pipe',
137 env: {
138 ...process.env,
139 GIT_AUTHOR_NAME: 'test',
140 GIT_AUTHOR_EMAIL: 'test@example.com',
141 GIT_COMMITTER_NAME: 'test',
142 GIT_COMMITTER_EMAIL: 'test@example.com',
143 },
144 });
145}
146
147function initRepo(): void {
148 git(['init', '-b', 'main']);

Callers 2

initRepoFunction · 0.85
fs-git.e2e.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected