git-annex/BackendUrl.hs

18 lines
269 B
Haskell
Raw Normal View History

2010-10-10 17:47:04 +00:00
{- git-annex "url" backend
- -}
module BackendUrl (backend) where
import Backend
backend = Backend {
name = "url",
keyvalue = keyValue,
retrievekey = downloadUrl
}
-- cannot generate url from filename
keyValue k = Nothing
downloadUrl k = error "unimplemented"