Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zenstackhq/zenstack
/ hash
Function
hash
packages/cli/src/utils/machine-id-utils.ts:29–31 ·
view source on GitHub ↗
(guid: string)
Source
from the content-addressed store, hash-verified
27
}
28
29
function
hash(guid: string): string {
30
return
createHash(
'sha256'
).update(guid).digest(
'hex'
);
31
}
32
33
function
expose(result: string): string | undefined {
34
switch (platform) {
Callers
1
getMachineId
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected