project-machine / disko

Disk Operations API in Go
Apache License 2.0
13 stars 9 forks source link

Fix conversion of sizes bytes to sectors when creating partitions. #26

Closed smoser closed 4 years ago

smoser commented 4 years ago

Partitions not getting correctly specified, for start or end. which resulted in busted sizes and invalid partitions.

codecov[bot] commented 4 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   57.69%   57.69%           
=======================================
  Files          12       12           
  Lines        1092     1092           
=======================================
  Hits          630      630           
  Misses        423      423           
  Partials       39       39
Impacted Files Coverage Δ
linux/disk.go 56.62% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a2be78...f3266f1. Read the comment docs.