Prune drops cache entries whose path was not seen in the latest run.
(seen map[string]bool)
| 67 | |
| 68 | // Prune drops cache entries whose path was not seen in the latest run. |
| 69 | func (c *Cache) Prune(seen map[string]bool) { |
| 70 | for p := range c.Entries { |
| 71 | if !seen[p] { |
| 72 | delete(c.Entries, p) |
| 73 | } |
| 74 | } |
| 75 | } |
no outgoing calls