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

Method get_diskutil

Scripts/disk.py:121–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 self.apfs = {}
120
121 def get_diskutil(self):
122 # Returns the path to the diskutil binary
123 return self.r.run({"args":["which", "diskutil"]})[0].split("\n")[0].split("\r")[0]
124
125 def get_disks(self):
126 # Returns a dictionary object of connected disks

Callers 1

__init__Method · 0.95

Calls 1

runMethod · 0.80

Tested by

no test coverage detected