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

Function linkify

source/features/link-to-compare-diff.tsx:11–16  ·  view source on GitHub ↗
(changedFilesSummary: HTMLElement)

Source from the content-addressed store, hash-verified

9import observe from '../helpers/selector-observer.js';
10
11function linkify(changedFilesSummary: HTMLElement): void {
12 wrapAll(
13 <a className="no-underline rgh-link-to-compare-diff" href="#files_bucket" />,
14 ...changedFilesSummary.children,
15 );
16}
17
18function init(signal: AbortSignal): void {
19 observe('.Box li:has(> .octicon-file-diff)', linkify, {signal});

Callers

nothing calls this directly

Calls 1

wrapAllFunction · 0.85

Tested by

no test coverage detected