Files
openclaw/src/infra/root-paths.ts
2026-06-04 03:09:43 -04:00

15 lines
508 B
TypeScript

// Exposes root-scoped path resolution helpers with fs-safe defaults.
import "./fs-safe-defaults.js";
// Root path helpers resolve writable and existing paths without allowing
// traversal outside the configured root.
export {
ensureDirectoryWithinRoot,
resolveExistingPathsWithinRoot,
resolvePathsWithinRoot,
resolvePathWithinRoot,
resolveStrictExistingPathsWithinRoot,
resolveWritablePathWithinRoot,
} from "@openclaw/fs-safe/advanced";
export { pathScope } from "@openclaw/fs-safe/advanced";