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

Function mkBundle

src/utils/teleport/gitBundle.ts:59–64  ·  view source on GitHub ↗
(base: string)

Source from the content-addressed store, hash-verified

57 // --all picks up refs/seed/stash; HEAD needs it explicit.
58 const extra = hasStash ? ['refs/seed/stash'] : []
59 const mkBundle = (base: string) =>
60 execFileNoThrowWithCwd(
61 gitExe(),
62 ['bundle', 'create', bundlePath, base, ...extra],
63 { cwd: gitRoot, abortSignal: signal },
64 )
65
66 const allResult = await mkBundle('--all')
67 if (allResult.code !== 0) {

Callers 1

_bundleWithFallbackFunction · 0.85

Calls 1

execFileNoThrowWithCwdFunction · 0.85

Tested by

no test coverage detected