MCPcopy Create free account
hub / github.com/devspace-sh/devspace / WithNewTomb

Method WithNewTomb

pkg/devspace/context/context.go:181–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181func (c *context) WithNewTomb() (Context, *tomb.Tomb) {
182 if c == nil {
183 return nil, nil
184 }
185
186 var t *tomb.Tomb
187 n := *c
188 t, n.context = tomb.WithContext(c.context)
189 return &n, t
190}
191
192func (c *context) ResolvePath(relPath string) string {
193 if relPath == "" {

Callers

nothing calls this directly

Calls 1

WithContextFunction · 0.92

Tested by

no test coverage detected