webapp: Added UI to delete repositories. Closes: #689847
This commit is contained in:
parent
e683df9536
commit
c57baaaa30
12 changed files with 245 additions and 6 deletions
|
@ -31,6 +31,10 @@ start ws = do
|
|||
|
||||
perform :: UUID -> CommandPerform
|
||||
perform uuid = do
|
||||
markDead uuid
|
||||
next $ return True
|
||||
|
||||
markDead :: UUID -> Annex ()
|
||||
markDead uuid = do
|
||||
trustSet uuid DeadTrusted
|
||||
groupSet uuid S.empty
|
||||
next $ return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue