MCPcopy Create free account
hub / github.com/Kong/insomnia / getTempPath

Function getTempPath

packages/insomnia-data/node-src/database/database-nedb.ts:34–36  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

32import { repairDatabase } from './repair-database';
33
34const getTempPath = (name: string) => {
35 return name === 'temp' ? os.tmpdir() : fsPath.join(os.tmpdir(), 'insomnia-send-request');
36};
37
38type initOptions = DataStoreOptions & { dbPath?: string };
39

Callers 1

createNedbDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected