Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/cli
/ tempFilePath
Function
tempFilePath
internal/update/update_test.go:120–127 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
118
}
119
120
func
tempFilePath() string {
121
file, err := os.CreateTemp(
""
,
""
)
122
if
err != nil {
123
log.Fatal(err)
124
}
125
os.Remove(file.Name())
126
return
file.Name()
127
}
Callers
1
TestCheckForUpdate
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected