0.0.1 • Published 8 years ago
is-index-clean v0.0.1
is-index-clean
check if a git repository has uncommitted changes
Install
$ npm install --save is-index-clean
Usage
const isIndexClean = require('is-index-clean');
isIndexClean.then(() => {
console.log('index clean');
}, () => {
console.log('index not clean');
});
API
is-index-clean()
Returns a Promise, which will be fulfilled if the index is completely clean and rejected otherwise.
License
MIT © JM Versteeg
0.0.1
8 years ago