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

Function initRepo

packages/server/test/fs-git.e2e.test.ts:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147function initRepo(): void {
148 git(['init', '-b', 'main']);
149 writeFileSync(join(workspace, 'seed.txt'), 'seed\n');
150 git(['add', 'seed.txt']);
151 git(['commit', '-m', 'seed', '--no-gpg-sign']);
152}
153
154// oxlint-disable-next-line eslint-plugin-jest(valid-describe-callback)
155describe('POST /api/v1/sessions/{sid}/fs:git_status (W11.2)', { timeout: process.platform === 'win32' ? 20_000 : 5_000 }, () => {

Callers 1

fs-git.e2e.test.tsFile · 0.85

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected