dircmp
dircmp is a utility modules which allows comparison of directories by creating hash unique to the files and links contained and their locations.
Last updated 7 years ago by jdubie .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dircmp 
SYNC missed versions from official npm registry.

dircmp

dircmp is a utility modules which allows comparison of directories by creating hash unique to the files and links contained and their locations.

Install

npm install dircmp

Quick Examples

// comparison
dircmp.cmp('/home/betty', '/home/bill', function(err, areEqual) {
  if (areEqual) {
    console.log('Wow - very compatible');
  } else {
    console.log('Opposites attract?');
  };
});

// hash
dircmp.hash('/home/chuck', function(err, digest) {
  console.log('hex digest: ' + digest);
});

Test

git clone https://github.com/jdubie/dircmp.git
cd dircmp
npm install
make test

Current Tags

  • 0.0.1                                ...           latest (7 years ago)

1 Versions

  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |