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

Function getExtensionContext

extensions/github1s/src/helpers/context.ts:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12};
13
14export const getExtensionContext = (): vscode.ExtensionContext => {
15 if (!extensionContext) {
16 throw new Error('extension context initialize failed!');
17 }
18
19 return extensionContext;
20};
21
22const RECENT_REPOSITORIES = 'github1s-recent-repositories';
23export const getRecentRepositories = (): { name: string; timestamp: number }[] => {

Callers 14

registerVSCodeProvidersFunction · 0.90
registerGitHub1sCommandsFunction · 0.90
openMethod · 0.90
resolveWebviewViewMethod · 0.90
getTokenMethod · 0.90
setTokenMethod · 0.90
registerCustomViewsFunction · 0.90
getRecentRepositoriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected