import { n as configureFsSafePython } from "./fs-safe-defaults-A4awSMom.js";
import { a as isPathInsideWithRealpath$1, i as isPathInside$1 } from "./path-CDlvTIfD.js";
import { N as walkDirectory$1 } from "./fs-safe-CmlZlB6k.js";
import { a as root$1 } from "./secure-temp-dir-aCJMpiaO.js";
import { t as assertNoSymlinkParents$1 } from "./symlink-parents-Dku--B7L.js";
import { o as statRegularFile$1, r as readRegularFile$1 } from "./regular-file-B6htoRh4.js";
import "./nodmix-runtime-MXgW_tyK.js";
//#region packages/memory-host-sdk/src/host/fs-utils.ts
function root(...args) {
	return root$1(...args);
}
function isPathInside(...args) {
	return isPathInside$1(...args);
}
function isPathInsideWithRealpath(...args) {
	return isPathInsideWithRealpath$1(...args);
}
function assertNoSymlinkParents(...args) {
	return assertNoSymlinkParents$1(...args);
}
function readRegularFile(...args) {
	return readRegularFile$1(...args);
}
function statRegularFile(...args) {
	return statRegularFile$1(...args);
}
function walkDirectory(...args) {
	return walkDirectory$1(...args);
}
if (!(process.env.FS_SAFE_PYTHON_MODE != null || process.env.NODMIX_FS_SAFE_PYTHON_MODE != null)) configureFsSafePython({ mode: "off" });
function isFileMissingError(err) {
	return Boolean(err && typeof err === "object" && "code" in err && (err.code === "ENOENT" || err.code === "ENOTDIR" || err.code === "not-found"));
}
//#endregion
export { readRegularFile as a, walkDirectory as c, isPathInsideWithRealpath as i, isFileMissingError as n, root as o, isPathInside as r, statRegularFile as s, assertNoSymlinkParents as t };
