id: 1 unit: func GrowContainer() file: internal/diskutil/grow.go start line: 20 end line: 80 size: 49 LOC McCabe index: 10 number of parameters: 3 id: 2 unit: func growContainerCommand() file: internal/cmd/grow_container.go start line: 33 end line: 93 size: 47 LOC McCabe index: 7 number of parameters: 0 id: 3 unit: func getUIDandGID() file: internal/util/util.go start line: 99 end line: 150 size: 39 LOC McCabe index: 11 number of parameters: 1 id: 4 unit: func ExecuteCommand() file: internal/util/util.go start line: 22 end line: 74 size: 35 LOC McCabe index: 8 number of parameters: 5 id: 5 unit: func rootCommand() file: internal/cmd/root.go start line: 34 end line: 66 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 6 unit: func run() file: internal/cmd/grow_container.go start line: 96 end line: 125 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 7 unit: func() file: internal/system/product.go start line: 24 end line: 45 size: 22 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: func getVersionRelease() file: internal/system/product.go start line: 104 end line: 125 size: 22 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: func ForProduct() file: internal/diskutil/diskutil.go start line: 90 end line: 109 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: func() file: internal/diskutil/types/partitions.go start line: 18 end line: 40 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 11 unit: func extractDSCacheUtilKeyValues() file: internal/util/util.go start line: 152 end line: 183 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 12 unit: func main() file: internal/cmd/gen-docs/main.go start line: 12 end line: 30 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: func Scan() file: internal/system/system.go start line: 41 end line: 58 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 14 unit: func updatePhysicalStores() file: internal/diskutil/mojave.go start line: 13 end line: 35 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: func repairParentDisk() file: internal/diskutil/grow.go start line: 123 end line: 141 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 16 unit: func validateDeviceID() file: internal/cmd/grow_container.go start line: 148 end line: 168 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: func canAPFSResize() file: internal/diskutil/grow.go start line: 85 end line: 103 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func() file: internal/diskutil/types/disk.go start line: 68 end line: 89 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: func main() file: cmd/ec2-macos-utils/main.go start line: 13 end line: 28 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 20 unit: func updatePhysicalStore() file: internal/diskutil/mojave.go start line: 77 end line: 92 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: func getTargetDiskInfo() file: internal/cmd/grow_container.go start line: 130 end line: 145 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 22 unit: func newProduct() file: internal/system/product.go start line: 87 end line: 101 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: func info() file: internal/diskutil/diskutil.go start line: 343 end line: 360 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 24 unit: func list() file: internal/diskutil/diskutil.go start line: 363 end line: 380 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 25 unit: func readProductVersionFile() file: internal/system/system.go start line: 109 end line: 120 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: func ExecuteCommandYes() file: internal/util/util.go start line: 77 end line: 93 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 27 unit: func getDiskFreeSpace() file: internal/diskutil/grow.go start line: 107 end line: 119 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 28 unit: func() file: internal/diskutil/diskutil.go start line: 203 end line: 215 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func() file: internal/diskutil/diskutil.go start line: 223 end line: 235 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: func() file: internal/diskutil/utility.go start line: 38 end line: 55 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func readVersion() file: internal/system/system.go start line: 91 end line: 105 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 32 unit: func MainCommand() file: internal/cmd/root.go start line: 20 end line: 31 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: func Product() file: internal/contextual/values.go start line: 22 end line: 31 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: func() file: internal/diskutil/decoder.go start line: 27 end line: 39 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func() file: internal/diskutil/decoder.go start line: 42 end line: 54 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func assertRootPrivileges() file: internal/cmd/root.go start line: 89 end line: 98 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: func decodeVersionInfo() file: internal/system/system.go start line: 77 end line: 86 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func fetchPhysicalStore() file: internal/diskutil/mojave.go start line: 45 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: func parsePhysicalStoreId() file: internal/diskutil/mojave.go start line: 66 end line: 74 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: func() file: internal/diskutil/utility.go start line: 59 end line: 72 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: func() file: internal/diskutil/utility.go start line: 76 end line: 90 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: func() file: internal/diskutil/utility.go start line: 93 end line: 108 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func newMojave() file: internal/diskutil/diskutil.go start line: 112 end line: 119 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func newCatalina() file: internal/diskutil/diskutil.go start line: 122 end line: 129 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: func newBigSur() file: internal/diskutil/diskutil.go start line: 132 end line: 139 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func newMonterey() file: internal/diskutil/diskutil.go start line: 142 end line: 149 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: func newVentura() file: internal/diskutil/diskutil.go start line: 152 end line: 159 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func newSonoma() file: internal/diskutil/diskutil.go start line: 162 end line: 169 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func newSequoia() file: internal/diskutil/diskutil.go start line: 172 end line: 179 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func setupLogging() file: internal/cmd/root.go start line: 69 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: func mustInitConstraint() file: internal/system/product.go start line: 68 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 52 unit: func ParseDiskID() file: internal/diskutil/identifier/disk.go start line: 12 end line: 17 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func NewAPFSPhysicalStoreID() file: internal/diskutil/types/partitions.go start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: func() file: internal/system/product.go start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: func() file: internal/system/system.go start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func() file: internal/system/system.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: func WithProduct() file: internal/contextual/values.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: func isAPFSVolume() file: internal/diskutil/mojave.go start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func isAPFSMedia() file: internal/diskutil/mojave.go start line: 95 end line: 97 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: func() file: internal/diskutil/types/disk.go start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: func() file: internal/diskutil/diskutil.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func() file: internal/diskutil/diskutil.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func() file: internal/diskutil/diskutil.go start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: internal/diskutil/diskutil.go start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: internal/diskutil/diskutil.go start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func Dryrun() file: internal/diskutil/diskutil.go start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func() file: internal/diskutil/diskutil.go start line: 248 end line: 250 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func() file: internal/diskutil/diskutil.go start line: 254 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: func() file: internal/diskutil/diskutil.go start line: 269 end line: 271 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: internal/diskutil/diskutil.go start line: 275 end line: 277 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: internal/diskutil/diskutil.go start line: 290 end line: 292 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func() file: internal/diskutil/diskutil.go start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: func() file: internal/diskutil/diskutil.go start line: 311 end line: 313 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: internal/diskutil/diskutil.go start line: 317 end line: 319 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func() file: internal/diskutil/diskutil.go start line: 332 end line: 334 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func() file: internal/diskutil/diskutil.go start line: 338 end line: 340 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func hasRootPrivileges() file: internal/cmd/root.go start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0