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.
This commit is contained in:
parent
bbdb2c04d5
commit
e2c44bf656
8 changed files with 134 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue