"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dirsum = require("@zkochan/dirsum");
function default_1(dirpath) {
    return new Promise((resolve, reject) => {
        dirsum.digest(dirpath, 'sha1', (err, hashes) => {
            if (err)
                return reject(err);
            resolve(hashes.hash);
        });
    });
}
exports.default = default_1;
//# sourceMappingURL=dirsum.js.map