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

Method close

extensions/github1s/src/commands/blame.ts:247–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 }
246
247 close() {
248 setVSCodeContext('github1s:features:gutterBlame:open', false);
249 this.refreshDisposables.forEach((disposable) => disposable.dispose());
250 this.selectionDisposables.forEach((disposable) => disposable.dispose());
251 this.opening = false;
252 }
253
254 toggle() {
255 return this.opening ? this.close() : this.open();

Callers 1

toggleMethod · 0.95

Calls 2

setVSCodeContextFunction · 0.90
disposeMethod · 0.65

Tested by

no test coverage detected