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

Function makeTempDir

packages/node-runtime/src/services/push-importer.test.ts:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const nativeBinding = path.resolve('apps/cli/native/better_sqlite3.node')
11
12function makeTempDir(): string {
13 const baseDir = fs.existsSync('/private/tmp') ? '/private/tmp' : os.tmpdir()
14 return fs.mkdtempSync(path.join(baseDir, 'chatlab-push-import-'))
15}
16
17function createDatabaseManager(rootDir: string): DatabaseManager {
18 return new DatabaseManager(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected