MCPcopy
hub / github.com/vuejs/core / getSha

Function getSha

scripts/release.js:365–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363}
364
365async function getSha() {
366 return (await exec('git', ['rev-parse', 'HEAD'])).stdout
367}
368
369async function getBranch() {
370 return (await exec('git', ['rev-parse', '--abbrev-ref', 'HEAD'])).stdout

Callers 2

getCIResultFunction · 0.85
isInSyncWithRemoteFunction · 0.85

Calls 1

execFunction · 0.90

Tested by

no test coverage detected