MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / createTempSystemDir

Function createTempSystemDir

packages/node-runtime/src/preferences.test.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { PreferencesManager } from './preferences'
7
8function createTempSystemDir(): string {
9 return mkdtempSync(join(tmpdir(), 'chatlab-preferences-'))
10}
11
12function readPreferencesFile(systemDir: string): any {
13 return JSON.parse(readFileSync(join(systemDir, 'preferences.json'), 'utf-8'))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected