"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get ensureDirExists () {
        return ensureDirExists;
    },
    get rootPath () {
        return rootPath;
    },
    get superRootPath () {
        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