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

Function removeRecentRepository

extensions/github1s/src/helpers/context.ts:34–37  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

32};
33
34export const removeRecentRepository = (name: string) => {
35 const newRecords = getRecentRepositories().filter((record) => record.name !== name);
36 return getExtensionContext().globalState.update(RECENT_REPOSITORIES, newRecords);
37};
38
39export const getBrowserUrl = () => {
40 return vscode.commands.executeCommand('github1s.commands.vscode.getBrowserUrl');

Callers 1

commandOpenRepositoryFunction · 0.90

Calls 2

getRecentRepositoriesFunction · 0.85
getExtensionContextFunction · 0.85

Tested by

no test coverage detected