openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 550 B
JavaScript
import "./fs-safe-defaults-B7hUN42l.js";
import { n as fileStoreSync, t as fileStore } from "./file-store-BEyTvXOr.js";
//#region src/infra/private-file-store.ts
/** Create an async private file store rooted at `rootDir`. */
function privateFileStore(rootDir) {
return fileStore({
rootDir,
private: true
});
}
/** Create a sync private file store rooted at `rootDir`. */
function privateFileStoreSync(rootDir) {
return fileStoreSync({
rootDir,
private: true
});
}
//#endregion
export { privateFileStoreSync as n, privateFileStore as t };