MCPcopy Create free account
hub / github.com/archlinux/archinstall / MirrorRegion

Class MirrorRegion

archinstall/lib/models/mirrors.py:141–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140@dataclass
141class MirrorRegion:
142 name: str
143 urls: list[str]
144
145 def json(self) -> dict[str, list[str]]:
146 return {self.name: self.urls}
147
148 @override
149 def __eq__(self, other: object) -> bool:
150 if not isinstance(other, MirrorRegion):
151 return NotImplemented
152 return self.name == other.name
153
154
155class SignCheck(Enum):

Callers 4

test_config_file_parsingFunction · 0.90
get_mirror_regionsMethod · 0.90
parse_argsMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_config_file_parsingFunction · 0.72