blob: caece6b78c0e6733aa8acc7eff338b27d9c3e60a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{- git-annex "SHA1" backend
- -}
module Backend.SHA1 (backend) where
import qualified Backend.File
import TypeInternals
backend = Backend.File.backend {
name = "SHA1",
getKey = keyValue
}
-- checksum the file to get its key
keyValue :: FilePath -> Annex (Maybe Key)
keyValue k = error "SHA1 keyValue unimplemented" -- TODO
|