import "./fs-safe-defaults-A4awSMom.js";
import { a as isPathInsideWithRealpath$1, c as isWithinDir$1, f as safeRealpathSync$1, i as isPathInside$1, p as safeStatSync$1 } from "./path-CDlvTIfD.js";
//#region packages/fs-safe/dist/mode.js
function formatPosixMode$1(mode) {
	return (mode & 511).toString(8).padStart(3, "0");
}
//#endregion
//#region src/infra/path-safety.ts
function isPathInside(...args) {
	return isPathInside$1(...args);
}
function isPathInsideWithRealpath(...args) {
	return isPathInsideWithRealpath$1(...args);
}
function isWithinDir(...args) {
	return isWithinDir$1(...args);
}
function safeRealpathSync(...args) {
	return safeRealpathSync$1(...args);
}
function safeStatSync(...args) {
	return safeStatSync$1(...args);
}
function formatPosixMode(...args) {
	return formatPosixMode$1(...args);
}
//#endregion
export { safeRealpathSync as a, isWithinDir as i, isPathInside as n, safeStatSync as o, isPathInsideWithRealpath as r, formatPosixMode as t };
