MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / stepsHref

Function stepsHref

ui/src/lib/navigation.ts:171–179  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

169 },
170
171 stepsHref(opts = {}) {
172 const params = new URLSearchParams();
173 if (opts.anchor) params.set('anchor', opts.anchor);
174 else if (opts.symbol) params.set('symbol', opts.symbol);
175 if (opts.depth) params.set('depth', String(opts.depth));
176 if (opts.through) params.set('through', '1');
177 if (opts.view) params.set('view', opts.view);
178 return `#/steps${query(params)}`;
179 },
180
181 deadHref(opts = {}) {
182 const params = new URLSearchParams();

Callers 1

ui-package.test.tsFile · 0.85

Calls 3

stepsHrefMethod · 0.80
queryFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected