"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ML_SET_BASE_PATH = void 0;
const path_1 = __importDefault(require("path"));
let ML_BASE_RESOLVE_PATH = path_1.default.resolve(process.cwd());
function ML_SET_BASE_PATH(base) {
    ML_BASE_RESOLVE_PATH = path_1.default.resolve(base);
}
exports.ML_SET_BASE_PATH = ML_SET_BASE_PATH;
function join(...parts) {
    let p = [ML_BASE_RESOLVE_PATH];
    p.push(...parts);
    return path_1.default.join(...parts);
}
function resolve(...parts) {
    return path_1.default.resolve(join(...parts));
}
function resolve_classic(...parts) {
    return path_1.default.resolve(...parts);
}
function join_classic(...parts) {
    return path_1.default.join(...parts);
}
function parse(p) {
    return path_1.default.parse(p);
}
function relative(from, to) {
    return path_1.default.relative(from, to);
}
exports.default = { join, resolve, resolve_classic, join_classic, parse, relative };
//# sourceMappingURL=Path.js.map