dist/fs-extra.js
// It only checks the path strings.
It only checks the path strings.
It only checks the path strings .
function isSrcSubdir(src, dest) {
      const srcArr = path$1.resolve(src).split(path$1.sep).filter(i => i);
      const destArr = path$1.resolve(dest).split(path$1.sep).filter(i => i);
      return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true);
    }
function isSrcSubdir ( src , dest ) { const srcArr = path$1 . resolve ( src ) . split ( path$1 . sep ) . filter ( i => i ) ; const destArr = path$1 . resolve ( dest ) . split ( path$1 . sep ) . filter ( i => i ) ; return srcArr . reduce ( ( acc , cur , i ) => acc && destArr [ i ] === cur , true ) ; }
It only checks the path strings.
It only checks the path strings .