Skip to content

sgtlambda/is-index-clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-index-clean

check if a git repository has uncommitted changes

Build Status Code Quality NPM Version

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

dependency Status devDependency Status

About

Check if a git repository has uncommitted changes

Resources

Stars

Watchers

Forks

Packages

No packages published