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

Method getPath

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

Source from the content-addressed store, hash-verified

73 }
74
75 public async getPath() {
76 await this._barrier.wait();
77 const { pathname, search, hash } = this._history!.location;
78 return `${pathname}${search}${hash}`;
79 }
80
81 // push the url with current history
82 public async push(path: string) {

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected