(options)
| 2 | var levels = require('./severity') |
| 3 | |
| 4 | function Cache (options) { |
| 5 | this.mustCollectSeverity = options && options.mustCollectSeverity |
| 6 | this.root = createNode() |
| 7 | this.ttl = (options && options.ttl) || 30 * 1000 |
| 8 | } |
| 9 | |
| 10 | function forEachPath (node, path, f) { |
| 11 | var i = path.length - 1 |
nothing calls this directly
no test coverage detected