'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); };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.js | File | 236 B | 0644 |
|
license | File | 1.09 KB | 0644 |
|
package.json | File | 1.65 KB | 0644 |
|
readme.md | File | 595 B | 0644 |
|