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

Function getOldFeatureNames

source/feature-data.ts:18–27  ·  view source on GitHub ↗
(featureName: string)

Source from the content-addressed store, hash-verified

16}
17
18export function getOldFeatureNames(featureName: string): string[] {
19 const oldNames: string[] = [];
20 for (const [oldName, newName] of Object.entries(renamedFeatures)) {
21 if (newName === featureName) {
22 oldNames.push(oldName);
23 }
24 }
25
26 return oldNames;
27}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected