* Compare two paths, return true if they are identical * ('README.md', './README.md') -> true * * @param {String} p1: first path * @param {String} p2: second path * @return {Boolean}
(p1, p2)
| 122 | * @return {Boolean} |
| 123 | */ |
| 124 | function areIdenticalPaths(p1, p2) { |
| 125 | return normalize(p1) === normalize(p2); |
| 126 | } |
| 127 | |
| 128 | module.exports = { |
| 129 | areIdenticalPaths: areIdenticalPaths, |
nothing calls this directly
no test coverage detected
searching dependent graphs…