MCPcopy Index your code
hub / github.com/archlinux/archinstall / get_device

Method get_device

archinstall/lib/disk/device_handler.py:161–162  ·  view source on GitHub ↗
(self, path: Path)

Source from the content-addressed store, hash-verified

159 return None
160
161 def get_device(self, path: Path) -> BDevice | None:
162 return self._devices.get(path, None)
163
164 def get_device_by_partition_path(self, partition_path: Path) -> BDevice | None:
165 partition = self.find_partition(partition_path)

Callers 4

parse_argMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected