aboutsummaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-24 16:23:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-24 16:23:36 -0400
commit2b414feaf2d20452794d0cdd608c6dd91feb1ec1 (patch)
tree16f4caafc5158227eda6b36462b93a9c3f35173f /Remote
parent35b31b00e4efbf84bcfb814acc477bbb89b50107 (diff)
implement chunk logs
Slightly tricky as they are not normal UUIDBased logs, but are instead maps from (uuid, chunksize) to chunkcount. This commit was sponsored by Frank Thomas.
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Helper/Chunked.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Remote/Helper/Chunked.hs b/Remote/Helper/Chunked.hs
index a71c39fbc..edd9dd8c9 100644
--- a/Remote/Helper/Chunked.hs
+++ b/Remote/Helper/Chunked.hs
@@ -9,12 +9,11 @@ module Remote.Helper.Chunked where
import Utility.DataUnits
import Types.Remote
+import Logs.Chunk.Pure (ChunkSize)
import qualified Data.Map as M
import Data.Int
-type ChunkSize = Int64
-
data ChunkConfig
= NoChunks
| UnpaddedChunks ChunkSize