Current Path : /usr/lib/node_modules/npm/node_modules/is-path-inside/ |
Current File : //usr/lib/node_modules/npm/node_modules/is-path-inside/index.js |
'use strict'; var path = require('path'); var pathIsInside = require('path-is-inside'); module.exports = function (a, b) { a = path.resolve(a); b = path.resolve(b); if (a === b) { return false; } return pathIsInside(a, b); };