Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonDriveApps/sdk
/ getShortHash
Function
getShortHash
cli/scripts/build-cli.mjs:108–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
}
107
108
function
getShortHash() {
109
return
git([
'rev-parse'
,
'--short'
,
'HEAD'
]);
110
}
111
112
function
git(args) {
113
return
execFileSync(
'git'
, args, {
Callers
1
getVersion
Function · 0.85
Calls
1
git
Function · 0.85
Tested by
no test coverage detected