implement journalledRepoSizes
Plan is to run this when populating Annex.reposizes on demand. So Annex.reposizes will be up-to-date with the journal, including crucially journal entries for private repositories. But also anything that has been written to the journal by another process, especially if the process was ran with annex.alwayscommit=false. From there, Annex.reposizes can be kept up to date with changes made by the running process.
This commit is contained in:
parent
8ac2685b33
commit
3e6eb2a58d
7 changed files with 148 additions and 66 deletions
|
@ -197,7 +197,7 @@ updateFromLog db@(ImportFeedDbHandle h) (oldtree, currtree)
|
|||
| otherwise = Nothing
|
||||
|
||||
goscan reader = reader >>= \case
|
||||
Just ((), f, Just content)
|
||||
Just ((), f, Just (content, _))
|
||||
| isUrlLog f -> do
|
||||
knownurls (parseUrlLog content)
|
||||
goscan reader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue