/usr/lib/nodejs/is-path-in-cwd/index.js is in node-is-path-in-cwd 1.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | 'use strict';
var isPathInside = require('is-path-inside');
module.exports = function (str) {
return isPathInside(str, process.cwd());
};
|