update
This commit is contained in:
parent
117d270bb4
commit
2abda21123
2 changed files with 3 additions and 1 deletions
|
@ -210,7 +210,7 @@ fromOk :: Remote -> Key -> Annex Bool
|
|||
fromOk src key
|
||||
-- check if the remote contains the key, when it can be done cheaply
|
||||
| Remote.hasKeyCheap src =
|
||||
Remote.hasKey src key >>=
|
||||
Remote.hasKey src key >>= \case
|
||||
Right True -> return True
|
||||
-- Don't skip getting the key just because the
|
||||
-- remote no longer contains it if the log
|
||||
|
|
|
@ -10,6 +10,8 @@ Would need haskell library, http://hackage.haskell.org/package/xxhash is
|
|||
out of date. It would probably not be hard to make a xxh3 haskell library,
|
||||
but I'm inclined to wait for someone who really wants it.
|
||||
|
||||
Debian already has it in libxxhash0.
|
||||
|
||||
Interestingly, the ghc RTS uses xxhash and recently updated to xxh3.
|
||||
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4248
|
||||
But I don't think that's exposed to haskell code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue