git-annex info speed up using getRepoSizes
This commit is contained in:
parent
d09a005f2b
commit
b62b58b50b
6 changed files with 68 additions and 37 deletions
|
@ -5,11 +5,13 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
|
||||
module Types.RepoSize where
|
||||
|
||||
-- The current size of a repo.
|
||||
newtype RepoSize = RepoSize Integer
|
||||
deriving (Show, Eq, Ord)
|
||||
deriving (Show, Eq, Ord, Num)
|
||||
|
||||
-- The maximum size of a repo.
|
||||
newtype MaxSize = MaxSize Integer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue