Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/desktop/desktop
/ createTempDirectory
Function
createTempDirectory
app/test/helpers/temp.ts:19–23 ·
view source on GitHub ↗
(t: TestContext)
Source
from the content-addressed store, hash-verified
17
)
18
19
export
const
createTempDirectory = (t: TestContext) =>
20
mkdtemp(join(tmpdir(),
'desktop-test-'
)).then(path => {
21
t.after(() => clean(path))
22
return
path
23
})
Callers
15
setupFixtureRepository
Function · 0.90
setupEmptyRepository
Function · 0.90
setupEmptyDirectory
Function · 0.90
setupLocalForkOfRepository
Function · 0.90
cloneRepository
Function · 0.90
cloneLocalRepository
Function · 0.90
git-info-test.ts
File · 0.90
write-default-readme-test.ts
File · 0.90
desktop-file-transport-test.ts
File · 0.90
file-system-test.ts
File · 0.90
createBareUpstream
Function · 0.90
init-test.ts
File · 0.90
Calls
1
clean
Function · 0.85
Tested by
no test coverage detected