MCPcopy Index your code
hub / github.com/codeaashu/claude-code / hashContent

Function hashContent

src/services/teamMemorySync/index.ts:134–136  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

132 * so local-vs-server comparison works by direct string equality.
133 */
134export function hashContent(content: string): string {
135 return 'sha256:' + createHash('sha256').update(content, 'utf8').digest('hex')
136}
137
138/**
139 * Type guard narrowing an unknown error to a Node.js errno-style exception.

Callers 1

pushTeamMemoryFunction · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected