diff options
Diffstat (limited to 'Types/Meters.hs')
-rw-r--r-- | Types/Meters.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Types/Meters.hs b/Types/Meters.hs new file mode 100644 index 000000000..ef304d1ae --- /dev/null +++ b/Types/Meters.hs @@ -0,0 +1,12 @@ +{- git-annex meter types + - + - Copyright 2012 Joey Hess <joey@kitenet.net> + - + - Licensed under the GNU GPL version 3 or higher. + -} + +module Types.Meters where + +{- An action that can be run repeatedly, feeding it the number of + - bytes sent or retrieved so far. -} +type MeterUpdate = (Integer -> IO ()) |