projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
is-path-inside
/
index.js
1
'use strict';
2
var path = require('path');
3
var pathIsInside = require('path-is-inside');
4
5
module.exports = function (a, b) {
6
a = path.resolve(a);
7
b = path.resolve(b);
8
9
if (a === b) {
10
return false;
11
}
12
13
return pathIsInside(a, b);
14
};