"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    ensureDirExists: function() {
        return ensureDirExists;
    },
    rootPath: function() {
        return rootPath;
    },
    superRootPath: function() {
        return superRootPath;
    }
});
const _nodefs = require("node:fs");
const _path = require("path");
function superRootPath() {
    return (0, _path.join)(__dirname, "../..");
}
function rootPath() {
    return (0, _path.join)(__dirname, "..");
}
function ensureDirExists(dir) {
    if (!(0, _nodefs.existsSync)(dir)) {
        (0, _nodefs.mkdirSync)(dir, {
            recursive: true
        });
    }
}

//# sourceMappingURL=fs.utils.js.map