MCPcopy Index your code
hub / github.com/gitify-app/gitify / getAccountUUID

Function getAccountUUID

src/renderer/utils/auth/utils.ts:333–337  ·  view source on GitHub ↗
(account: Account)

Source from the content-addressed store, hash-verified

331 * @returns A base-64 encoded UUID string.
332 */
333export function getAccountUUID(account: Account): AccountUUID {
334 return btoa(
335 `${account.hostname}-${account.user?.id}-${account.method}`,
336 ) as AccountUUID;
337}
338
339/**
340 * Return the primary (first) account hostname, or the default GitHub.com hostname

Callers 10

getNewNotificationsFunction · 0.90
getClientCacheKeyFunction · 0.90
handleRefreshFunction · 0.90
getAccountErrorFunction · 0.90
AccountsRouteFunction · 0.90
NotificationsRouteFunction · 0.90
AppProviderFunction · 0.90
useNotificationsFunction · 0.90
addAccountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected