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

Method getState

extensions/github1s/src/router/index.ts:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58 // get the routerState for current url
59 public async getState(): Promise<RouterState> {
60 await this._barrier.wait();
61 return this._state!;
62 }
63
64 // compute the file URI authority of current routerState
65 public async getAuthority(): Promise<string> {

Callers 15

getAuthorityMethod · 0.95
initialVSCodeStateFunction · 0.80
messages.tsFile · 0.80
provideFileDecorationMethod · 0.80
provideFileDecorationMethod · 0.80
checkout.tsFile · 0.80
resolveSourcegraphLinkFunction · 0.80
commandCheckoutToFunction · 0.80
commandSwitchToCommitFunction · 0.80
commandDiffCommitFileFunction · 0.80

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected