MCPcopy Index your code
hub / github.com/refined-github/refined-github / getReleasesCount

Function getReleasesCount

source/features/releases-tab.tsx:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46});
47
48export async function getReleasesCount(): Promise<[0] | [number, 'Tags' | 'Releases']> {
49 const repo = getRepo()!.nameWithOwner;
50 return releasesCount.get(repo);
51}
52
53async function addReleasesTab(repoNavigationBar: HTMLElement): Promise<false | void> {
54 const [count, type] = await getReleasesCount();

Callers 3

addReleasesTabFunction · 0.85
addReleasesDropdownItemFunction · 0.85
addReleaseBannerFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected