(otherSubgraph *SubGraph)
| 273 | } |
| 274 | |
| 275 | func (sg *SubGraph) copyFiltersRecurse(otherSubgraph *SubGraph) { |
| 276 | *sg = *otherSubgraph |
| 277 | sg.Children = []*SubGraph{} |
| 278 | sg.Filters = []*SubGraph{} |
| 279 | for _, fc := range otherSubgraph.Filters { |
| 280 | tempChild := new(SubGraph) |
| 281 | tempChild.copyFiltersRecurse(fc) |
| 282 | sg.Filters = append(sg.Filters, tempChild) |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | func runKShortestPaths(ctx context.Context, sg *SubGraph) ([]*SubGraph, error) { |
| 287 | var err error |
no outgoing calls
no test coverage detected