MCPcopy
hub / github.com/21st-dev/1code / createGitForNetwork

Function createGitForNetwork

src/main/lib/git/git-factory.ts:49–51  ·  view source on GitHub ↗
(worktreePath: string)

Source from the content-addressed store, hash-verified

47 * Uses longer timeout suitable for fetch, push, pull operations.
48 */
49export function createGitForNetwork(worktreePath: string): SimpleGit {
50 return createGit(worktreePath, GIT_TIMEOUTS.NETWORK);
51}
52
53/**
54 * Creates a simple-git instance configured for long-running operations.

Callers 2

createBranchesRouterFunction · 0.90

Calls 1

createGitFunction · 0.85

Tested by

no test coverage detected