MCPcopy
hub / github.com/corpnewt/gibMacOS / is_core_storage

Method is_core_storage

Scripts/disk.py:207–213  ·  view source on GitHub ↗
(self, disk)

Source from the content-addressed store, hash-verified

205 return False
206
207 def is_core_storage(self, disk):
208 disk_id = self.get_identifier(disk)
209 if not disk_id:
210 return None
211 if self._get_physical_disk(disk_id, "Logical Volume on "):
212 return True
213 return False
214
215 def get_identifier(self, disk):
216 # Should be able to take a mount point, disk name, or disk identifier,

Callers 3

get_core_storage_pvMethod · 0.95
get_parentMethod · 0.95

Calls 2

get_identifierMethod · 0.95
_get_physical_diskMethod · 0.95

Tested by

no test coverage detected