MCPcopy Create free account
hub / github.com/refined-github/refined-github / getHash

Function getHash

source/features/open-issue-to-latest-comment.tsx:10–12  ·  view source on GitHub ↗
(type: 'issue' | 'pr')

Source from the content-addressed store, hash-verified

8import observe from '../helpers/selector-observer.js';
9
10function getHash(type: 'issue' | 'pr'): string {
11 return type === 'issue' ? commentBoxHashIssue : commentBoxHashPr;
12}
13
14function linkify(item: HTMLElement): void {
15 if (item instanceof HTMLAnchorElement) {

Callers 1

linkifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected