-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disk: add a fitTo() method to Partition that uses minSize()
Add a new Partition method, fitTo(), which resizes a partition to either fit the given size or the sum of its contents + metadata. The content sum and metadata is calculated using the new minSize() method for VolumeContainers.
- Loading branch information
1 parent
e392bf7
commit 344fc96
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters