MCPcopy Create free account
hub / github.com/zalando/skipper / clone

Method clone

proxy/context.go:273–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271}
272
273func (c *context) clone() *context {
274 cc := *c
275
276 // preserve the original path params by cloning the set:
277 cc.pathParams = appendParams(nil, c.pathParams)
278
279 return &cc
280}
281
282func (c *context) wasExecuted() bool {
283 return c.executionCounter != 0

Callers 2

SplitMethod · 0.95
doMethod · 0.80

Calls 1

appendParamsFunction · 0.85

Tested by

no test coverage detected