MCPcopy 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
29function hash(guid: string): string {
30 return createHash('sha256').update(guid).digest('hex');
31}
32
33function expose(result: string): string | undefined {
34 switch (platform) {

Callers 1

getMachineIdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected