Sha256: bcc3b6018f4674b9977b7121b1bd0a98851a272814e29148bb36b9350dc850a7
Contents?: true
Size: 589 Bytes
Versions: 21
Compression:
Stored size: 589 Bytes
Contents
const { verbose } = require('../utils'); const { algorithms, canonicalize } = require('./canonicalize'); const FingerprintDirectoryCommand = require('./fingerprintDirectoryCommand'); const FingerprintWatchCommand = require('./fingerprintWatchCommand'); async function fingerprintDirectory(dir, watch = false) { if (verbose) { verbose(true); } let cmd; if (watch) { cmd = new FingerprintWatchCommand(dir); } else { cmd = new FingerprintDirectoryCommand(dir); } return cmd.execute(); } module.exports = { algorithms, canonicalize, fingerprintDirectory, };
Version data entries
21 entries across 21 versions & 1 rubygems