MCPcopy Create free account
hub / github.com/MemTensor/MemOS / getOpenClawHome

Method getOpenClawHome

packages/memos-core/src/viewer/server.ts:3988–3991  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3986 // ─── Migration: scan OpenClaw built-in memory ───
3987
3988 private getOpenClawHome(): string {
3989 const home = process.env.HOME || process.env.USERPROFILE || "";
3990 return process.env.OPENCLAW_STATE_DIR || path.join(home, ".openclaw");
3991 }
3992
3993 private handleCleanupPolluted(res: http.ServerResponse): void {
3994 try {

Callers 3

handleMigrateScanMethod · 0.95
runMigrationMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected