MCPcopy Create free account
hub / github.com/DBCDK/morph / setup

Function setup

morph.go:250–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248}
249
250func setup() {
251 utils.ValidateEnvironment("nix")
252
253 utils.SignalHandler()
254
255 if assetRoot == "" {
256 handleError(errors.New("Morph must be compiled with \"-ldflags=-X main.assetRoot=<path-to-installed-data/>\"."))
257 }
258}
259
260func main() {
261

Callers 1

mainFunction · 0.85

Calls 3

ValidateEnvironmentFunction · 0.92
SignalHandlerFunction · 0.92
handleErrorFunction · 0.85

Tested by

no test coverage detected