avoid name shadowing warning
This commit is contained in:
parent
7059322a6c
commit
26dea5641e
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ streamRestageLog finalizer processor = do
|
||||||
Nothing -> noop
|
Nothing -> noop
|
||||||
|
|
||||||
calcRestageLog :: t -> ((TopFilePath, InodeCache) -> t -> t) -> Annex t
|
calcRestageLog :: t -> ((TopFilePath, InodeCache) -> t -> t) -> Annex t
|
||||||
calcRestageLog start proc = do
|
calcRestageLog start update = do
|
||||||
logf <- fromRepo gitAnnexRestageLog
|
logf <- fromRepo gitAnnexRestageLog
|
||||||
calcLogFile (fromRawFilePath logf) start $ \l v ->
|
calcLogFile (fromRawFilePath logf) start $ \l v ->
|
||||||
case parseRestageLog (decodeBL l) of
|
case parseRestageLog (decodeBL l) of
|
||||||
Just pl -> proc pl v
|
Just pl -> update pl v
|
||||||
Nothing -> v
|
Nothing -> v
|
||||||
|
|
||||||
formatRestageLog :: TopFilePath -> InodeCache -> S.ByteString
|
formatRestageLog :: TopFilePath -> InodeCache -> S.ByteString
|
||||||
|
|
Loading…
Reference in a new issue