MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / go_str

Method go_str

misc/python/materialize/xcompile.py:33–40  ·  view source on GitHub ↗

Return the architecture name in Go nomenclature: amd64 or arm64.

(self)

Source from the content-addressed store, hash-verified

31 return self.value
32
33 def go_str(self) -> str:
34 """Return the architecture name in Go nomenclature: amd64 or arm64."""
35 if self == Arch.X86_64:
36 return "amd64"
37 elif self == Arch.AARCH64:
38 return "arm64"
39 else:
40 raise RuntimeError("unreachable")
41
42 @staticmethod
43 def host() -> "Arch":

Callers 2

_build_lockedMethod · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected