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

Function openAccountProfile

src/renderer/utils/system/links.ts:42–46  ·  view source on GitHub ↗
(account: Account)

Source from the content-addressed store, hash-verified

40}
41
42export function openAccountProfile(account: Account) {
43 const url = new URL(`https://${account.hostname}`);
44 url.pathname = account.user!.login;
45 openExternalLink(url.toString() as Link);
46}
47
48export function openUserProfile(user: GitifyNotificationUser) {
49 openExternalLink(user.htmlUrl);

Callers 3

AccountNotificationsFunction · 0.90
links.test.tsFile · 0.90
AccountsRouteFunction · 0.90

Calls 2

openExternalLinkFunction · 0.90
toStringMethod · 0.80

Tested by

no test coverage detected