MCPcopy
hub / github.com/desktop/desktop / getTempFilePath

Function getTempFilePath

app/src/lib/file-system.ts:13–14  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

11 * will not be created.
12 */
13export const getTempFilePath = (name: string) =>
14 join(tmpdir(), `${name}-${randomBytes(8).toString('hex')}`)
15
16/**
17 * Tail the file and call the callback on every line.

Callers 7

squash-test.tsFile · 0.90
reorder-test.tsFile · 0.90
createLFSProgressFileFunction · 0.90
getResolutionDiffFunction · 0.90
squashFunction · 0.90
reorderFunction · 0.90

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected