Files
openclaw/src/plugins/path-safety.ts
2026-06-03 21:01:33 -04:00

18 lines
441 B
TypeScript

/** Plugin-local re-export of shared path safety helpers for plugin install/runtime code. */
export {
isNotFoundPathError,
hasNodeErrorCode,
isNodeError,
isPathInside,
isPathInsideWithRealpath,
isSymlinkOpenError,
isWithinDir,
normalizeWindowsPathForComparison,
resolveSafeBaseDir,
resolveSafeRelativePath,
safeRealpathSync,
safeStatSync,
splitSafeRelativePath,
formatPosixMode,
} from "../infra/path-safety.js";