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

Function makeTempDir

apps/cli/src/sync/adapters.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-cli-sync-'))
15}
16
17function createPathProvider(root: string): PathProvider {
18 return {

Callers 1

adapters.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected