Commit With Frontend and Backend in MERN

This commit is contained in:
sanikapendurkar
2025-02-10 14:24:56 +05:30
commit 0f4e1a3183
2518 changed files with 448667 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
/**
* Determines if `path2` is a subpath of or equal to `path1`
*
* @param {string} path1
* @param {string} path2
* @return {Boolean}
* @api private
*/
module.exports = function isSubpath(path1, path2) {
return path1 === path2 || path2.startsWith(path1 + '.');
};