git-annex/BackendFile.hs

18 lines
272 B
Haskell
Raw Normal View History

2010-10-10 17:47:04 +00:00
{- git-annex "file" backend
- -}
module BackendFile (backend) where
import Backend
backend = Backend {
name = "file",
keyvalue = keyValue,
retrievekey = copyFile
}
-- direct mapping from filename to key
keyValue k = Just $ id k
copyFile f = error "unimplemented"