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

Function clearOctokitClientCacheForAccount

src/renderer/utils/api/octokit.ts:40–43  ·  view source on GitHub ↗
(account: Account)

Source from the content-addressed store, hash-verified

38 * @param account The account to clear the cache for
39 */
40export function clearOctokitClientCacheForAccount(account: Account): void {
41 octokitClientCache.delete(getClientCacheKey(account, 'rest'));
42 octokitClientCache.delete(getClientCacheKey(account, 'graphql'));
43}
44
45/**
46 * Create an authenticated Octokit client instance with caching

Callers 1

addAccountFunction · 0.90

Calls 1

getClientCacheKeyFunction · 0.85

Tested by

no test coverage detected