MCPcopy Create free account
hub / github.com/Xyntopia/taskyon / base64Uuid

Function base64Uuid

src/modules/taskManager.ts:140–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138}
139
140function base64Uuid() {
141 // Generate a UUID
142 const hexUuid = uuidv1();
143
144 // Convert the UUID from hex to a Buffer
145 const bufferUuid = Buffer.from(hexUuid.replace(/-/g, ''), 'hex');
146
147 // Convert the Buffer to a base64 string
148 const base64Uuid = bufferUuid.toString('base64');
149
150 return base64Uuid;
151}
152
153let taskyonDB: TaskyonDatabase | undefined = undefined;
154

Callers 2

addFileFunction · 0.85
addTask2TreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected