UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

9 lines (8 loc) • 375 B
//#region packages/normalization-core/src/mountinfo-path.ts const MOUNT_PATH_OCTAL_ESCAPE_RE = /\\([0-7]{3})/g; /** Decodes an octal-escaped path field from a Linux procfs mount table. */ function decodeMountInfoPath(e) { return e.replace(MOUNT_PATH_OCTAL_ESCAPE_RE, (e, t) => String.fromCharCode(Number.parseInt(t, 8))); } //#endregion export { decodeMountInfoPath as t };