openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
27 lines (26 loc) • 689 B
JavaScript
import "node:path";
import "@openclaw/fs-safe/advanced";
import { FsSafeError as FsSafeError$1 } from "@openclaw/fs-safe/errors";
import "@openclaw/fs-safe/path";
import "node:fs/promises";
import "@openclaw/fs-safe/output";
import "@openclaw/fs-safe/root";
import { readSecureFile } from "@openclaw/fs-safe/secure-file";
import "@openclaw/fs-safe/walk";
//#region packages/normalization-core/src/result.ts
/** Create a successful {@link Result}. */
function ok(value) {
return {
ok: true,
value
};
}
/** Create a failed {@link Result}. */
function err(error) {
return {
ok: false,
error
};
}
//#endregion
export { readSecureFile as i, ok as n, FsSafeError$1 as r, err as t };