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

Method push

extensions/github1s/src/router/index.ts:82–86  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

80
81 // push the url with current history
82 public async push(path: string) {
83 await this._barrier.wait();
84 const emptyState = { pathname: '', search: '', hash: '' };
85 return this._history!.push({ ...emptyState, ...parsePath(encodeURI(path)) });
86 }
87
88 // replace the url with current history
89 public async replace(path: string) {

Callers 15

nFunction · 0.80
pFunction · 0.80
htm.module.jsFile · 0.80
lFunction · 0.80
yFunction · 0.80
dFunction · 0.80
mFunction · 0.80
wFunction · 0.80
AFunction · 0.80
jFunction · 0.80
DFunction · 0.80

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected