rmurl: New command, removes one of the recorded urls for a file.
This commit is contained in:
parent
7e23ce6cef
commit
6be815a30c
5 changed files with 41 additions and 1 deletions
|
@ -54,4 +54,7 @@ setUrlPresent key url = do
|
|||
logChange key webUUID InfoPresent
|
||||
|
||||
setUrlMissing :: Key -> URLString -> Annex ()
|
||||
setUrlMissing key url = addLog (urlLog key) =<< logNow InfoMissing url
|
||||
setUrlMissing key url = do
|
||||
addLog (urlLog key) =<< logNow InfoMissing url
|
||||
whenM (null <$> getUrls key) $
|
||||
logChange key webUUID InfoMissing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue