(key func(...string) string, store func(...string) *DepGraph)
| 337 | } |
| 338 | |
| 339 | func NewDepGraphMap(key func(...string) string, store func(...string) *DepGraph) *DepGraphMap { |
| 340 | if key == nil { |
| 341 | key = func(s ...string) string { return strings.Join(s, ":") } |
| 342 | } |
| 343 | return &DepGraphMap{key: key, store: store, m: map[string]*DepGraph{}} |
| 344 | } |
| 345 | |
| 346 | func (s *DepGraphMap) Range(do func(k string, v *DepGraph) bool) { |
| 347 | for k, v := range s.m { |
no outgoing calls
no test coverage detected