• File: index.js
  • Full Path: /home6/laduliya/test.mydthpay.com/node_modules/npm/node_modules/is-path-inside/index.js
  • Date Modified: 10/26/1985 11:45 AM
  • File size: 236 bytes
  • MIME-type: text/plain
  • Charset: utf-8
'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);
};