MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / makeTempDir

Function makeTempDir

apps/desktop/main/database/migrations.test.ts:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11const nativeBinding = path.resolve('apps/cli/native/better_sqlite3.node')
12
13function makeTempDir(): string {
14 const baseDir = fs.existsSync('/private/tmp') ? '/private/tmp' : os.tmpdir()
15 return fs.mkdtempSync(path.join(baseDir, 'chatlab-desktop-migration-'))
16}
17
18function makePathProvider(root: string): PathProvider {
19 return {

Callers 1

migrations.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected