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

Version Path
appmap-0.72.2 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.72.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.72.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.71.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.70.2 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.70.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.70.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.69.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.68.2 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.68.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.68.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.67.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.67.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.66.2 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.66.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.66.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.65.1 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.65.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.64.0 ./node_modules/@appland/appmap/src/fingerprint/index.js
appmap-0.63.0 ./node_modules/@appland/appmap/src/fingerprint/index.js