Package Exports
- is-git-clean
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-git-clean) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-git-clean 
Find out if a git directory is clean or not
Install
$ npm install --save is-git-clean
Usage
const isGitClean = require('is-git-clean');
isGitClean().then(clean => console.log(clean));
//=> true || false
// alternate directory
isGitClean('/some/path')
// sync version
isGitClean.sync()
API
isGitClean([dir])
Returns a promise for a boolean
value. true
if the directory is clean, false
if it is not.
dir
Type: string
Default: process.cwd()
Path to the directory you want to check.
isGitClean.sync([dir])
Returns a boolean
value. true
if the directory is clean, false
if it is not.
dir
Type: string
Default: process.cwd()
Path to the directory you want to check.
License
MIT © James Talmage