()
| 179 | } |
| 180 | |
| 181 | func (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 | |
| 192 | func (c *context) ResolvePath(relPath string) string { |
| 193 | if relPath == "" { |
nothing calls this directly
no test coverage detected