sim: Fix size tracking for balanced preferred content
This commit is contained in:
parent
a6b8082119
commit
6cf9a101b8
5 changed files with 98 additions and 32 deletions
|
@ -29,8 +29,8 @@ newtype MaxSize = MaxSize { fromMaxSize :: Integer }
|
|||
deriving (Show, Read, Eq, Ord)
|
||||
|
||||
-- An offset to the size of a repo.
|
||||
newtype SizeOffset = SizeOffset { fromSizeChange :: Integer }
|
||||
deriving (Show, Eq, Ord, Num)
|
||||
newtype SizeOffset = SizeOffset { fromSizeOffset :: Integer }
|
||||
deriving (Show, Read, Eq, Ord, Num)
|
||||
|
||||
-- Used when an action is in progress that will change the current size of
|
||||
-- a repository.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue