left an unhandled case in previous commit
This commit is contained in:
parent
cdbfaae706
commit
0a9a3ed1c3
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ ingest' preferredbackend meterupdate (Just (LockedDown cfg source)) mk restage =
|
||||||
go key mcache (Just s)
|
go key mcache (Just s)
|
||||||
| lockingFile cfg = golocked key mcache s
|
| lockingFile cfg = golocked key mcache s
|
||||||
| otherwise = gounlocked key mcache s
|
| otherwise = gounlocked key mcache s
|
||||||
|
go _ _ Nothing = failure "failed to generate a key"
|
||||||
|
|
||||||
golocked key mcache s =
|
golocked key mcache s =
|
||||||
tryNonAsync (moveAnnex key $ fromRawFilePath $ contentLocation source) >>= \case
|
tryNonAsync (moveAnnex key $ fromRawFilePath $ contentLocation source) >>= \case
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue