MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / hashUserId

Function hashUserId

frontend/src/config/common-path.ts:58–60  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

56
57// Helper function to hash user IDs for unique cache directories
58const hashUserId = (userId: string): string => {
59 return createHash('md5').update(userId).digest('hex');
60};
61
62// Utility Functions for File Operations
63export const writeProjectContent = async (

Callers 1

getUserCacheDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected