mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* first action! (#1)
This commit is contained in:
parent
8deacc95b1
commit
ace1e6a69a
3750 changed files with 1155519 additions and 0 deletions
34
node_modules/is-path-inside/readme.md
generated
vendored
Normal file
34
node_modules/is-path-inside/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
# is-path-inside [](https://travis-ci.org/sindresorhus/is-path-inside)
|
||||
|
||||
> Check if a path is inside another path
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save is-path-inside
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isPathInside = require('is-path-inside');
|
||||
|
||||
isPathInside('a/b/c', 'a/b');
|
||||
//=> true
|
||||
|
||||
isPathInside('a/b/c', 'x/y');
|
||||
//=> false
|
||||
|
||||
isPathInside('a/b/c', 'a/b/c');
|
||||
//=> false
|
||||
|
||||
isPathInside('/Users/sindresorhus/dev/unicorn', '/Users/sindresorhus');
|
||||
//=> true
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue