MCPcopy Create free account
hub / github.com/Noumena-Network/code / mkBundle

Function mkBundle

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

Source from the content-addressed store, hash-verified

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

Callers 1

_bundleWithFallbackFunction · 0.85

Calls 1

execFileNoThrowWithCwdFunction · 0.85

Tested by

no test coverage detected