MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / downloadLib

Function downloadLib

ecgo/rust/wrapper/wrapper.go:100–108  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

98}
99
100func downloadLib(path string) {
101 log := logger.Logger()
102 log.Info().Msg("Downloading rust libs ...")
103 err := downloadFile("https://github.com/PolyhedraZK/ExpanderCompilerCollection/raw/rust-built-libs/"+getLibName(), path)
104 if err != nil {
105 os.Remove(path)
106 panic(err)
107 }
108}
109
110type repoInfo struct {
111 Commit struct {

Callers 1

updateLibFunction · 0.85

Calls 2

downloadFileFunction · 0.85
getLibNameFunction · 0.85

Tested by

no test coverage detected