mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-30 12:32:47 +00:00
Initial Commit
This commit is contained in:
14
ProjectNow/NodeServer/node_modules/is-path-inside/index.js
generated
vendored
Normal file
14
ProjectNow/NodeServer/node_modules/is-path-inside/index.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'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);
|
||||
};
|
Reference in New Issue
Block a user