MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getPluginGitTimeoutMs

Function getPluginGitTimeoutMs

src/utils/plugins/marketplaceManager.ts:517–526  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515const DEFAULT_PLUGIN_GIT_TIMEOUT_MS = 120 * 1000
516
517function getPluginGitTimeoutMs(): number {
518 const envValue = process.env.CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS
519 if (envValue) {
520 const parsed = parseInt(envValue, 10)
521 if (!isNaN(parsed) && parsed > 0) {
522 return parsed
523 }
524 }
525 return DEFAULT_PLUGIN_GIT_TIMEOUT_MS
526}
527
528export async function gitPull(
529 cwd: string,

Callers 6

gitPullFunction · 0.85
gitSubmoduleUpdateFunction · 0.85
gitCloneFunction · 0.85
reconcileSparseCheckoutFunction · 0.85
cacheMarketplaceFromGitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected