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

Function getNumberFromUrl

src/renderer/utils/api/utils.ts:29–31  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

27}
28
29export function getNumberFromUrl(url: string): number {
30 return Number.parseInt(url.split('/').pop()!, 10);
31}

Callers 4

fetchDiscussionByNumberFunction · 0.90
fetchIssueByNumberFunction · 0.90
fetchPullByNumberFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected