renamings to make clean when old-format logs are being used
This commit is contained in:
parent
fd304dce60
commit
9887a378fe
17 changed files with 56 additions and 57 deletions
|
@ -20,7 +20,7 @@ import Logs.UUIDBased
|
|||
|
||||
parseDifferencesLog :: L.ByteString -> (M.Map UUID Differences)
|
||||
parseDifferencesLog = simpleMap
|
||||
. parseLog (readDifferences . decodeBS <$> A.takeByteString)
|
||||
. parseLogOld (readDifferences . decodeBS <$> A.takeByteString)
|
||||
|
||||
-- The sum of all recorded differences, across all UUIDs.
|
||||
allDifferences :: M.Map UUID Differences -> Differences
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue