diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-10-08 15:01:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-10-08 15:01:38 -0400 |
commit | 55fb90edfc8732b08bea9239a6f4a471ac7867c3 (patch) | |
tree | 4f6933ac0c8aec8d7344b6248521ae338db23261 /Command | |
parent | 8152051fcdbdadf43b70420add5bcc2f2c118b9c (diff) |
add removeKey action to Remote
Not implemented for any remotes yet; probably the git remote is the only
one that will ever implement it.
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Drop.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs index 6bbdb58fd..8b361ed56 100644 --- a/Command/Drop.hs +++ b/Command/Drop.hs @@ -91,7 +91,7 @@ startRemote afile numcopies key remote = do -- Note that lockContentExclusive is called before checking if the key is -- present on enough remotes to allow removal. This avoids a scenario where two -- or more remotes are trying to remove a key at the same time, and each --- see the key is present on the other. +-- sees the key is present on the other. performLocal :: Key -> AssociatedFile -> NumCopies -> Maybe Remote -> CommandPerform performLocal key afile numcopies knownpresentremote = lockContentExclusive key $ \contentlock -> do (remotes, trusteduuids) <- Remote.keyPossibilitiesTrusted key |