MCPcopy Create free account
hub / github.com/nodejs/llhttp / endTo

Method endTo

src/llhttp/url.ts:165–171  ·  view source on GitHub ↗
(target: Node)

Source from the content-addressed store, hash-verified

163 }
164
165 const endTo = (target: Node): Node => {
166 let res: Node = this.spanEnd('url', target);
167 if (spanName !== undefined) {
168 res = this.spanEnd(spanName, res);
169 }
170 return res;
171 };
172
173 node.peek(' ', endTo(skipToHTTP));
174

Callers

nothing calls this directly

Calls 1

spanEndMethod · 0.95

Tested by

no test coverage detected