Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ getBranch
Function
getBranch
scripts/release.js:369–371 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
367
}
368
369
async
function
getBranch() {
370
return
(
await
exec(
'git'
, [
'rev-parse'
,
'--abbrev-ref'
,
'HEAD'
])).stdout
371
}
372
373
/**
374
* @param {string} version
Callers
1
isInSyncWithRemote
Function · 0.85
Calls
1
exec
Function · 0.90
Tested by
no test coverage detected