implement Unavilable for borg bup ddar directory rsync
Only gcrypt remains to add support for. (Well, possibly also adb?) Sponsored-by: Luke T. Shumaker on Patreon
This commit is contained in:
parent
67c99a4db7
commit
977403d338
9 changed files with 42 additions and 12 deletions
|
@ -25,6 +25,7 @@ import Config.Cost
|
|||
import Annex.SpecialRemote.Config
|
||||
import Remote.Helper.Special
|
||||
import Remote.Helper.ExportImport
|
||||
import Remote.Helper.Path
|
||||
import Annex.Ssh
|
||||
import Annex.UUID
|
||||
import Utility.SshHost
|
||||
|
@ -98,8 +99,9 @@ gen r u rc gc rs = do
|
|||
then Just $ ddarRepoLocation ddarrepo
|
||||
else Nothing
|
||||
, remotetype = remote
|
||||
, availability = pure $
|
||||
if ddarLocal ddarrepo then LocallyAvailable else GloballyAvailable
|
||||
, availability = checkPathAvailability
|
||||
(ddarLocal ddarrepo && not (null $ ddarRepoLocation ddarrepo))
|
||||
(ddarRepoLocation ddarrepo)
|
||||
, readonly = False
|
||||
, appendonly = False
|
||||
, untrustworthy = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue