bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
20 lines (15 loc) • 406 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = isDirEmptySync;
function _readDirIgnoreDsStore() {
const data = require("./fs/read-dir-ignore-ds-store");
_readDirIgnoreDsStore = function () {
return data;
};
return data;
}
function isDirEmptySync(dirPath) {
return !(0, _readDirIgnoreDsStore().readDirSyncIgnoreDsStore)(dirPath).length;
}
;