Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ tempFilePath
Function
tempFilePath
internal/update/update_test.go:485–492 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
483
}
484
485
func
tempFilePath() string {
486
file, err := os.CreateTemp(
""
,
""
)
487
if
err != nil {
488
log.Fatal(err)
489
}
490
os.Remove(file.Name())
491
return
file.Name()
492
}
Callers
1
TestCheckForUpdate
Function · 0.85
Calls
2
Remove
Method · 0.65
Name
Method · 0.65
Tested by
no test coverage detected