MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage / constructor

Method constructor

src/server/session/store.ts:58–61  ·  view source on GitHub ↗
(baseDir: string = '.sessionstore')

Source from the content-addressed store, hash-verified

56 private baseDir: string;
57
58 constructor(baseDir: string = '.sessionstore') {
59 this.baseDir = path.resolve(process.cwd(), baseDir);
60 this.ensureDir();
61 }
62
63 /**
64 * 确保存储目录存在

Callers

nothing calls this directly

Calls 1

ensureDirMethod · 0.95

Tested by

no test coverage detected