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

Function getTempPath

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

Source from the content-addressed store, hash-verified

41import { repairDatabase } from './repair-database';
42
43const getTempPath = (name: string) => {
44 return name === 'temp' ? os.tmpdir() : fsPath.join(os.tmpdir(), 'insomnia-send-request');
45};
46
47type initOptions = DataStoreOptions & {
48 dbPath?: string;

Callers 1

createNedbDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected