sim: add missing parser for action sendwanted

This commit is contained in:
Joey Hess 2024-09-17 11:40:40 -04:00
parent ae19ad0fa1
commit e0128b6362
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -195,6 +195,8 @@ parseSimAction ("action":repo:"sync":remote:rest) =
mkAction rest $ ActionSync (RepoName repo) (RemoteName remote)
parseSimAction ("action":repo:"getwanted":remote:rest) =
mkAction rest $ ActionGetWanted (RepoName repo) (RemoteName remote)
parseSimAction ("action":repo:"sendwanted":remote:rest) =
mkAction rest $ ActionSendWanted (RepoName repo) (RemoteName remote)
parseSimAction ("action":repo:"dropunwanted":rest) =
mkAction rest $ ActionDropUnwanted (RepoName repo) Nothing
parseSimAction ("action":repo:"dropunwanted":remote:rest) =