MCPcopy
hub / github.com/conwnet/github1s / updatePickerItems

Function updatePickerItems

extensions/github1s/src/commands/global.ts:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 let recentRepoPickItems = getRecentRepoPickItems();
34
35 const updatePickerItems = () => {
36 if (manualInputItem.label) {
37 return (quickPick.items = [...recentRepoPickItems, manualInputItem]);
38 }
39 return (quickPick.items = recentRepoPickItems);
40 };
41
42 quickPick.placeholder = 'Select to open...';
43 updatePickerItems();

Callers 1

commandOpenRepositoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected