MCPcopy Create free account
hub / github.com/github/gh-aw / canonicalBundlePath

Function canonicalBundlePath

actions/setup/js/create_pull_request.test.cjs:29–34  ·  view source on GitHub ↗
(branch, repo)

Source from the content-addressed store, hash-verified

27 return p;
28}
29function canonicalBundlePath(branch, repo) {
30 fs.mkdirSync("/tmp/gh-aw", { recursive: true });
31 const p = repo ? getBundlePathForBranchInRepo(branch, repo) : getBundlePathForBranch(branch);
32 createdTransportPaths.add(p);
33 return p;
34}
35function cleanupCanonicalTransports() {
36 for (const p of createdTransportPaths) {
37 try {

Callers 1

Calls 3

getBundlePathForBranchFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected